From 4719cc03837490ed4bf1b9725d75a686e56e5a6a Mon Sep 17 00:00:00 2001 From: claw0ry Date: Wed, 11 Dec 2024 13:56:52 +0100 Subject: fresh start --- themes/plaintext/layouts/_default/single.html | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 themes/plaintext/layouts/_default/single.html (limited to 'themes/plaintext/layouts/_default/single.html') diff --git a/themes/plaintext/layouts/_default/single.html b/themes/plaintext/layouts/_default/single.html new file mode 100644 index 0000000..7e286c8 --- /dev/null +++ b/themes/plaintext/layouts/_default/single.html @@ -0,0 +1,10 @@ +{{ define "main" }} +

{{ .Title }}

+ + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format ":date_long" }} + + + {{ .Content }} + {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} +{{ end }} -- cgit v1.2.3