summaryrefslogtreecommitdiff
path: root/themes/plaintext/layouts/_default/single.html
diff options
context:
space:
mode:
authorclaw0ry <me@claw0ry.net>2024-12-11 13:56:52 +0100
committerclaw0ry <me@claw0ry.net>2024-12-11 13:56:52 +0100
commit4719cc03837490ed4bf1b9725d75a686e56e5a6a (patch)
tree769dd3a3a87153df049b3043196bd131495b10ad /themes/plaintext/layouts/_default/single.html
fresh start
Diffstat (limited to 'themes/plaintext/layouts/_default/single.html')
-rw-r--r--themes/plaintext/layouts/_default/single.html10
1 files changed, 10 insertions, 0 deletions
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" }}
+ <h1>{{ .Title }}</h1>
+
+ {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
+ {{ $dateHuman := .Date | time.Format ":date_long" }}
+ <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
+
+ {{ .Content }}
+ {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
+{{ end }}