From 172adfb014596423d7cc3043f2a288ac01884cba Mon Sep 17 00:00:00 2001 From: verdant Date: Sun, 31 May 2026 16:33:36 +0800 Subject: Add minify configuration, modify favicon url --- layouts/_default/#baseof.html# | 29 ++++ layouts/_default/.#baseof.html | 1 + layouts/_default/baseof.html | 2 + layouts/_default/list.html | 44 ----- layouts/_default/single.html | 369 +++-------------------------------------- 5 files changed, 59 insertions(+), 386 deletions(-) create mode 100644 layouts/_default/#baseof.html# create mode 120000 layouts/_default/.#baseof.html (limited to 'layouts/_default') 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 @@ + + + + + + + + + {{- partial "favicon.html" . -}} + {{ .Title }} + + {{- partial "seo_tags.html" . -}} + + + + {{ with .OutputFormats.Get "rss" -}} {{ printf ` + + ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} + + {{- partial "custom_head.html" . -}} + + + +
{{- block "main" . }}{{- end }}
+ + + {{- partial "custom_body.html" . -}} + + diff --git a/layouts/_default/.#baseof.html b/layouts/_default/.#baseof.html new file mode 120000 index 0000000..c37d2f8 --- /dev/null +++ b/layouts/_default/.#baseof.html @@ -0,0 +1 @@ +verdant@glowisle.178751:1780072799 \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index dd29a6b..54fa756 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,7 +11,9 @@ {{- partial "seo_tags.html" . -}} + + {{ with .OutputFormats.Get "rss" -}} {{ printf ` ` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} {{ end -}} diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8c1db86..3992a01 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,50 +1,6 @@ {{ define "main" }} - {{ if .Site.Params.postSearch }} - - - {{ end }}