From 2545016f8d6b63b0d857fc20fdd7276d2f0fc2a9 Mon Sep 17 00:00:00 2001 From: Zach Berwaldt Date: Thu, 12 Oct 2023 23:40:26 -0400 Subject: Layout refinements. add config, disclaimer --- layouts/post/single.html | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'layouts/post') diff --git a/layouts/post/single.html b/layouts/post/single.html index 166ecd6..25bfc23 100644 --- a/layouts/post/single.html +++ b/layouts/post/single.html @@ -1,10 +1,13 @@ {{ define "main" }} + {{ if not .Params.dontDisclaim }} + {{ partial "disclaimer" . }} + {{ end }}

{{ .Title }}

{{ .Date | time.Format ":date_full" }}
+
{{ .Lastmod | time.Format ":date_full" }}
{{- .Content -}}
- {{ end }} -- cgit v1.1