From 42eda761d565b6367736e19a1341243c7c345043 Mon Sep 17 00:00:00 2001
From: Alex Scerba <alex@scerba.org>
Date: Sat, 9 Nov 2024 23:23:27 -0500
Subject: Add middle template for posts

---
 html/post.tmpl.html | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 html/post.tmpl.html

(limited to 'html')

diff --git a/html/post.tmpl.html b/html/post.tmpl.html
new file mode 100644
index 0000000..a7b3f57
--- /dev/null
+++ b/html/post.tmpl.html
@@ -0,0 +1,19 @@
+{{ define "title" }}Blog{{end}}
+{{ define "description" }}Blog{{end}}
+{{ define "keywords" }}blog{{end}}
+
+{{ define "main" }}
+<section>
+    <div class="main-bg">
+      <h1>Blog</h1>
+      <p>A collection of thoughts, life updates, projects, and images.</p>
+    </div>
+    <div class="return">
+        <a href="/blog">&lt; Return</a>
+    </div>
+{{ template "article" . }}
+    <div class="return">
+        <a href="/blog">&lt; Return</a>
+    </div>
+</section>
+{{ end }}
\ No newline at end of file
-- 
cgit v1.2.3