From c9c48d1650897a1bdea556538cdd3bc044e01f37 Mon Sep 17 00:00:00 2001 From: Thomas T Date: Fri, 29 Dec 2023 02:23:15 -0500 Subject: [PATCH 1/8] update `baseof` --- layouts/_default/baseof.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 475d6f9..69715a8 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,10 +6,18 @@ {{- partial "favicon.html" . -}} + {{ if .IsHome }} + {{ .Site.Title }} + {{ else }} {{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }} + {{ end }} {{- partial "seo_tags.html" . -}} + {{ $style := resources.Get "style.css" | minify }} @@ -40,6 +48,7 @@
{{- block "main" . }}{{- end }} + {{- partial "custom_main.html" . -}}