From 862a61c145ad083521f3941c56fd6e914d051a95 Mon Sep 17 00:00:00 2001 From: frosty Date: Mon, 16 Jun 2025 23:29:31 -0400 Subject: add stuff that rocks, enable table of contents, add og tags, and more --- themes/polaris/assets/css/style.css | 2 +- themes/polaris/layouts/_default/baseof.html | 27 +++++++++++++++------- themes/polaris/layouts/_default/single.html | 3 +++ themes/polaris/layouts/_markup/render-heading.html | 4 ++++ 4 files changed, 27 insertions(+), 9 deletions(-) create mode 100644 themes/polaris/layouts/_markup/render-heading.html (limited to 'themes') diff --git a/themes/polaris/assets/css/style.css b/themes/polaris/assets/css/style.css index 1ca72e4..230e5b8 100644 --- a/themes/polaris/assets/css/style.css +++ b/themes/polaris/assets/css/style.css @@ -84,7 +84,7 @@ a:hover { font-style: italic; } -nav ul { +.nav-over ul { list-style-type: none; margin: 0; padding-left: 0; diff --git a/themes/polaris/layouts/_default/baseof.html b/themes/polaris/layouts/_default/baseof.html index 1b34f99..37a6059 100644 --- a/themes/polaris/layouts/_default/baseof.html +++ b/themes/polaris/layouts/_default/baseof.html @@ -1,17 +1,28 @@ +{{ $pageTitle := "" }} +{{ if not .IsHome }} + {{ $pageTitle = printf "%s - %s" .Title .Site.Title }} +{{ else }} + {{ $pageTitle = .Site.Title }} +{{ end }} + - {{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }} + {{ $pageTitle }} - - {{ $notoSerif := resources.Get "css/noto-serif.css" | minify | fingerprint }} - - {{ $style := resources.Get "css/style.css" | minify | fingerprint }} - - {{ with .OutputFormats.Get "rss" }} - {{ printf `` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} + + {{ with resources.Get "css/noto-serif.css" | minify | fingerprint }} + {{ end }} + {{ with resources.Get "css/style.css" | minify | fingerprint }} + + {{ end }} + + + + +