aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Scerba <alex@scerba.org>2024-11-09 23:23:27 -0500
committerAlex Scerba <alex@scerba.org>2024-11-09 23:23:27 -0500
commit42eda761d565b6367736e19a1341243c7c345043 (patch)
treef6d56122e39bcdb5aab92b572f349911a1f8263e
parent34a52919ed2dd0d4d9dbd58f8ccbedf233780489 (diff)
Add middle template for posts
-rw-r--r--html/post.tmpl.html19
1 files changed, 19 insertions, 0 deletions
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