From 6beea1d4127d2d51bfdc75162423407c198d19da Mon Sep 17 00:00:00 2001 From: a73x Date: Sat, 21 Dec 2024 11:53:54 +0000 Subject: add date to posts --- templates/layouts/_default.html | 1 + templates/post.html | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 templates/post.html (limited to 'templates') diff --git a/templates/layouts/_default.html b/templates/layouts/_default.html index dfc5a7e..5e82732 100644 --- a/templates/layouts/_default.html +++ b/templates/layouts/_default.html @@ -11,6 +11,7 @@ a73x + 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"}} +← Posts +

{{.Meta.title}}

+{{ .Body }} +{{end}} \ No newline at end of file -- cgit v1.2.3