From 61fbce70abd2cafaef960f5e787a97a3a828d74e Mon Sep 17 00:00:00 2001 From: frosty Date: Tue, 17 Jun 2025 04:38:15 -0400 Subject: remove static fonts, update posts, clean up layout --- themes/polaris/layouts/_default/baseof.html | 19 +++++-------------- themes/polaris/layouts/_default/single.html | 2 +- 2 files changed, 6 insertions(+), 15 deletions(-) (limited to 'themes/polaris/layouts/_default') diff --git a/themes/polaris/layouts/_default/baseof.html b/themes/polaris/layouts/_default/baseof.html index 37a6059..3c052ea 100644 --- a/themes/polaris/layouts/_default/baseof.html +++ b/themes/polaris/layouts/_default/baseof.html @@ -11,30 +11,21 @@ {{ $pageTitle }} - - {{ with resources.Get "css/noto-serif.css" | minify | fingerprint }} - - {{ end }} {{ with resources.Get "css/style.css" | minify | fingerprint }} - + {{ end }} - - -
+ {{ partial "header.html" . }} +
{{ block "main" . }} - {{ .Content }} + {{ . }} {{ end }} -
- + diff --git a/themes/polaris/layouts/_default/single.html b/themes/polaris/layouts/_default/single.html index 56b9d9d..f059c55 100644 --- a/themes/polaris/layouts/_default/single.html +++ b/themes/polaris/layouts/_default/single.html @@ -8,7 +8,7 @@ {{ end }} {{ end }} {{ if or (eq .Section "posts") (.Params.toc) }} - {{ with .TableOfContents }}{{ . }}{{ end }} + {{ partial "toc.html" . }} {{ end }} {{ .Content }} {{ end }} -- cgit v1.2.3-70-g09d2