mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Fix html whitespace
This commit is contained in:
parent
77a74d73bf
commit
0f731951b0
2 changed files with 8 additions and 8 deletions
|
@ -1,8 +1,8 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{- default "" .Site.LanguageCode -}}">
|
<html lang="{{- default "" .Site.LanguageCode -}}">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
{{- partial "header.html" . -}}
|
{{- partial "header.html" . -}}
|
||||||
<main id="content">
|
<main id="content">
|
||||||
{{- block "main" . }}{{- end }}
|
{{- block "main" . }}{{- end -}}
|
||||||
</main>
|
</main>
|
||||||
{{- partial "footer.html" . -}}
|
{{ partial "footer.html" . }}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
{{- printf `<link rel="icon" sizes="192x192" href="%s" type="image/png">` $icon_192.RelPermalink | safeHTML }}
|
{{- printf `<link rel="icon" sizes="192x192" href="%s" type="image/png">` $icon_192.RelPermalink | safeHTML }}
|
||||||
{{ $favicon := resources.Get "/favicon.png" -}}
|
{{ $favicon := resources.Get "/favicon.png" -}}
|
||||||
{{ $favicon_base64 := $favicon.Content | base64Encode }}
|
{{ $favicon_base64 := $favicon.Content | base64Encode }}
|
||||||
{{ printf `<link rel="icon" sizes="32x32" href="data:image/png;base64,%s" type="image/png">` $favicon_base64 | safeHTML -}}
|
{{- printf `<link rel="icon" sizes="32x32" href="data:image/png;base64,%s" type="image/png">` $favicon_base64 | safeHTML -}}
|
||||||
<!-- apple-touch-icon used to be apple-specific, but now it's
|
<!-- apple-touch-icon used to be apple-specific, but now it's
|
||||||
a pseudo-standard relied upon by other vendors too:
|
a pseudo-standard relied upon by other vendors too:
|
||||||
https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes -->
|
https://html.spec.whatwg.org/multipage/semantics.html#attr-link-sizes -->
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
<!-- Why does apple do this -->
|
<!-- Why does apple do this -->
|
||||||
<meta name="format-detection" content="telephone=no">
|
<meta name="format-detection" content="telephone=no">
|
||||||
<!-- webmanifest defines even more icons. This is getting ridiculous -->
|
<!-- webmanifest defines even more icons. This is getting ridiculous -->
|
||||||
{{ $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}}
|
{{- $webmanifest := resources.Get "/manifest.webmanifest" | resources.ExecuteAsTemplate "manifest.webmanifest" . | resources.Minify | resources.Fingerprint "md5" -}}
|
||||||
{{- printf `<link rel="manifest" href="%s">` $webmanifest.RelPermalink | safeHTML }}
|
{{- printf `<link rel="manifest" href="%s">` $webmanifest.RelPermalink | safeHTML }}
|
||||||
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}posts/index.xml" title="{{ $.Site.Title }}">
|
<link rel="alternate" type="application/rss+xml" href="{{ .Site.BaseURL }}posts/index.xml" title="{{ $.Site.Title }}">
|
||||||
{{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}}
|
{{ if and (ne .Site.BaseURL "https://seirdy.one/") (ne .Site.BaseURL "http://wgq3bd2kqoybhstp77i3wrzbfnsyd27wt34psaja4grqiezqircorkyd.onion/") -}}
|
||||||
|
|
Loading…
Reference in a new issue