mirror of
https://github.com/maikka39/Personal-Website.git
synced 2026-10-02 14:46:25 +00:00
Fix w3 validation errors
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<header class="header">
|
||||
<span class="header__inner">
|
||||
<div class="header__inner">
|
||||
{{ partial "logo.html" . }}
|
||||
|
||||
<span class="header__right">
|
||||
<div class="header__right">
|
||||
{{- if len .Site.Menus }}
|
||||
{{ partial "menu.html" . }}
|
||||
<span class="menu-trigger">
|
||||
@@ -13,6 +13,6 @@
|
||||
</span>
|
||||
{{- end }}
|
||||
<span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
|
||||
</span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -5,5 +5,5 @@
|
||||
<source type="image/webp" srcset="{{ $webp.Permalink }}">
|
||||
<img src="{{ $png.Permalink }}" alt="{{ .alt | default "" }}" title="{{ .alt }}"
|
||||
width="{{ .width | default $png.Width }}" height="{{ .height | default $png.Height }}"
|
||||
{{- if .class}}class="{{ .class }}" {{end}} {{- if .style}}style="{{ .style | safeCSS }}" {{end}} />
|
||||
{{- if .class}} class="{{ .class }}"{{end}} {{- if .style}} style="{{ .style | safeCSS }}"{{end}} />
|
||||
</picture>
|
||||
@@ -8,7 +8,7 @@
|
||||
{{- if .Site.Config.Services.GoogleAnalytics.ID }}
|
||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
||||
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Config.Services.GoogleAnalytics.ID }}"></script>
|
||||
<script async>
|
||||
<script>
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
|
||||
function gtag() {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{{- if .Site.Params.goatCounter }}
|
||||
<span id="{{ .File.UniqueID }}" title="{{ i18n "post.pageViews" }}">{{ i18n "post.unknownViews" }}</span>
|
||||
<script async>
|
||||
<script>
|
||||
let url =
|
||||
"https://{{ .Site.Params.goatCounter }}/counter/" +
|
||||
encodeURIComponent({{ .RelPermalink }}.replace(/(\/)?$/, "")) +
|
||||
|
||||
Reference in New Issue
Block a user