From 34a52919ed2dd0d4d9dbd58f8ccbedf233780489 Mon Sep 17 00:00:00 2001 From: Alex Scerba Date: Sat, 9 Nov 2024 23:23:15 -0500 Subject: Add dynamic blog --- html/blog2.tmpl.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 html/blog2.tmpl.html (limited to 'html') diff --git a/html/blog2.tmpl.html b/html/blog2.tmpl.html new file mode 100644 index 0000000..2a57226 --- /dev/null +++ b/html/blog2.tmpl.html @@ -0,0 +1,44 @@ +{{ define "title" }}Blog{{end}} +{{ define "description" }}Blog{{end}} +{{ define "keywords" }}blog{{end}} + +{{ define "main" }} +
+ + > +
+

Page Navigation

+ +
+
+
+
+

Blog

+

A collection of thoughts, life updates, projects, and images.

+
+
+{{ range .Posts.Collection }} +

{{ .Date }} | {{ .Title }}

+{{ end }} +
+
+
+

Archive

+

Works from my last revision of scerba.org

+
+
+{{ range .Archive.Collection }} +

{{ .Date }} | {{ .Title }}

+{{ end }} +
+
+
+

Extended Archive

+

See my original blog at old.scerba.org

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