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">
|
<header class="header">
|
||||||
<span class="header__inner">
|
<div class="header__inner">
|
||||||
{{ partial "logo.html" . }}
|
{{ partial "logo.html" . }}
|
||||||
|
|
||||||
<span class="header__right">
|
<div class="header__right">
|
||||||
{{- if len .Site.Menus }}
|
{{- if len .Site.Menus }}
|
||||||
{{ partial "menu.html" . }}
|
{{ partial "menu.html" . }}
|
||||||
<span class="menu-trigger">
|
<span class="menu-trigger">
|
||||||
@@ -13,6 +13,6 @@
|
|||||||
</span>
|
</span>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
<span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
|
<span class="theme-toggle unselectable">{{ partial "theme-icon.html" . }}</span>
|
||||||
</span>
|
</div>
|
||||||
</span>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
@@ -5,5 +5,5 @@
|
|||||||
<source type="image/webp" srcset="{{ $webp.Permalink }}">
|
<source type="image/webp" srcset="{{ $webp.Permalink }}">
|
||||||
<img src="{{ $png.Permalink }}" alt="{{ .alt | default "" }}" title="{{ .alt }}"
|
<img src="{{ $png.Permalink }}" alt="{{ .alt | default "" }}" title="{{ .alt }}"
|
||||||
width="{{ .width | default $png.Width }}" height="{{ .height | default $png.Height }}"
|
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>
|
</picture>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
{{- if .Site.Config.Services.GoogleAnalytics.ID }}
|
{{- if .Site.Config.Services.GoogleAnalytics.ID }}
|
||||||
<!-- Global site tag (gtag.js) - Google Analytics -->
|
<!-- 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 src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Config.Services.GoogleAnalytics.ID }}"></script>
|
||||||
<script async>
|
<script>
|
||||||
window.dataLayer = window.dataLayer || [];
|
window.dataLayer = window.dataLayer || [];
|
||||||
|
|
||||||
function gtag() {
|
function gtag() {
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{{- if .Site.Params.goatCounter }}
|
{{- if .Site.Params.goatCounter }}
|
||||||
<span id="{{ .File.UniqueID }}" title="{{ i18n "post.pageViews" }}">{{ i18n "post.unknownViews" }}</span>
|
<span id="{{ .File.UniqueID }}" title="{{ i18n "post.pageViews" }}">{{ i18n "post.unknownViews" }}</span>
|
||||||
<script async>
|
<script>
|
||||||
let url =
|
let url =
|
||||||
"https://{{ .Site.Params.goatCounter }}/counter/" +
|
"https://{{ .Site.Params.goatCounter }}/counter/" +
|
||||||
encodeURIComponent({{ .RelPermalink }}.replace(/(\/)?$/, "")) +
|
encodeURIComponent({{ .RelPermalink }}.replace(/(\/)?$/, "")) +
|
||||||
|
|||||||
Reference in New Issue
Block a user