aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/_default/#baseof.html#
diff options
context:
space:
mode:
authorverdant <im@verdant.ee>2026-05-31 16:33:36 +0800
committerverdant <im@verdant.ee>2026-05-31 16:33:36 +0800
commit172adfb014596423d7cc3043f2a288ac01884cba (patch)
treef788b0b10f330daf8c3a6d1a8ed656a1d1253390 /layouts/_default/#baseof.html#
parentf9869a2cf060976c69aeade3d3f231bf1fbdddd3 (diff)
downloadblog-172adfb014596423d7cc3043f2a288ac01884cba.tar.gz
blog-172adfb014596423d7cc3043f2a288ac01884cba.zip
Add minify configuration, modify favicon url
Diffstat (limited to 'layouts/_default/#baseof.html#')
-rw-r--r--layouts/_default/#baseof.html#29
1 files changed, 29 insertions, 0 deletions
diff --git a/layouts/_default/#baseof.html# b/layouts/_default/#baseof.html#
new file mode 100644
index 0000000..a6224e8
--- /dev/null
+++ b/layouts/_default/#baseof.html#
@@ -0,0 +1,29 @@
+<!doctype html>
+<html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
+ <head>
+ <!-- <link rel="stylesheet" href="/css/style.css" /> -->
+ <link rel="stylesheet" href="/css/style.css" />
+ <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
+ {{- partial "favicon.html" . -}}
+ <title>{{ .Title }}</title>
+
+ {{- partial "seo_tags.html" . -}}
+ <meta name="referrer" content="no-referrer-when-downgrade" />
+ <link rel="alternate" type="application/rss+xml" href="/atom.xml" title="{{ .Site.Title }}">
+
+ {{ with .OutputFormats.Get "rss" -}} {{ printf `
+ <link rel="%s" type="%s" href="%s" title="%s" />
+ ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}}
+
+ {{- partial "custom_head.html" . -}}
+ </head>
+
+ <body>
+ <main>{{- block "main" . }}{{- end }}</main>
+ <footer>{{- partial "footer.html" . -}}</footer>
+
+ {{- partial "custom_body.html" . -}}
+ </body>
+</html>