From cd6644ea4ddc78597934ab0ef5ba50e3c3daa927 Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Sat, 8 Jul 2023 23:25:41 +0200 Subject: Moved to a simpler SSG --- templates/post.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 templates/post.html (limited to 'templates/post.html') diff --git a/templates/post.html b/templates/post.html new file mode 100644 index 0000000..28ffad2 --- /dev/null +++ b/templates/post.html @@ -0,0 +1,14 @@ +{{ template "base.html" . }} + +{{ define "title" }}{{ .Page.Title }}{{ end }} +{{ define "description" }}{{ .Page.Summary }}{{ end }} + +{{ define "content" }} +
+

{{ .Page.Title }}

+

{{ .Page.Created.Format "Jan 2, 2006" }}

+
+ {{ .Page.HTML }} +
+
+{{ end }} -- cgit v1.2.3