summaryrefslogtreecommitdiff
path: root/files/post.html
diff options
context:
space:
mode:
authorMitja Felicijan <m@mitjafelicijan.com>2023-07-08 21:26:40 +0200
committerMitja Felicijan <m@mitjafelicijan.com>2023-07-08 21:26:40 +0200
commitd11b6ebe944b13e504608094424217b5d6b39a53 (patch)
tree64559a80cf1c04fadf62f84f88120cdc5742e751 /files/post.html
parent8e83285cc5b36c516880c9e321b86cb78db0d27f (diff)
downloadjbmafp-d11b6ebe944b13e504608094424217b5d6b39a53.tar.gz
First version, whatever that means
Diffstat (limited to 'files/post.html')
-rw-r--r--files/post.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/files/post.html b/files/post.html
new file mode 100644
index 0000000..28ffad2
--- /dev/null
+++ b/files/post.html
@@ -0,0 +1,14 @@
+{{ template "base.html" . }}
+
+{{ define "title" }}{{ .Page.Title }}{{ end }}
+{{ define "description" }}{{ .Page.Summary }}{{ end }}
+
+{{ define "content" }}
+<div>
+ <h1>{{ .Page.Title }}</h1>
+ <p>{{ .Page.Created.Format "Jan 2, 2006" }}</p>
+ <div>
+ {{ .Page.HTML }}
+ </div>
+</div>
+{{ end }}