summaryrefslogtreecommitdiff
path: root/templates/post.html
diff options
context:
space:
mode:
authora73x <[email protected]>2024-12-21 11:53:54 +0000
committera73x <[email protected]>2024-12-21 11:53:54 +0000
commit6beea1d4127d2d51bfdc75162423407c198d19da (patch)
tree03aaf4e1511935dd8bc0b35e167544adcd7bacb5 /templates/post.html
parentf71e02f096f4b856a8ebd0323cebfd958bb17359 (diff)
add date to posts
Diffstat (limited to 'templates/post.html')
-rw-r--r--templates/post.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/post.html b/templates/post.html
new file mode 100644
index 0000000..bc567f2
--- /dev/null
+++ b/templates/post.html
@@ -0,0 +1,6 @@
+{{template "base" .}}
+{{define "content"}}
+<a href="/posts">← Posts</a>
+<h1>{{.Meta.title}}</h1>
+{{ .Body }}
+{{end}} \ No newline at end of file