From 210379b410fe40f877999bd68648af29465545d7 Mon Sep 17 00:00:00 2001 From: frosty Date: Tue, 10 Jun 2025 05:01:08 -0400 Subject: add new post and support codeblocks --- themes/polaris/layouts/_default/single.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'themes/polaris/layouts') diff --git a/themes/polaris/layouts/_default/single.html b/themes/polaris/layouts/_default/single.html index ef44984..21b247d 100644 --- a/themes/polaris/layouts/_default/single.html +++ b/themes/polaris/layouts/_default/single.html @@ -1,5 +1,11 @@ {{ define "main" }}

{{ .Title }}

- {{ with .Date }}

Written {{ . | time.Format "Jan 02 2006" }}.

{{ end }} + {{ if (eq .Section "posts") }} + {{ with .Param "lastmod" }} +

+ Last modified {{ . | time.Format "Jan 02 2006" }}. +

+ {{ end }} + {{ end }} {{ .Content }} {{ end }} -- cgit v1.2.3-70-g09d2