diff options
author | Alex Scerba <alex@scerba.org> | 2024-11-09 23:23:27 -0500 |
---|---|---|
committer | Alex Scerba <alex@scerba.org> | 2024-11-09 23:23:27 -0500 |
commit | 42eda761d565b6367736e19a1341243c7c345043 (patch) | |
tree | f6d56122e39bcdb5aab92b572f349911a1f8263e /html | |
parent | 34a52919ed2dd0d4d9dbd58f8ccbedf233780489 (diff) |
Add middle template for posts
Diffstat (limited to 'html')
-rw-r--r-- | html/post.tmpl.html | 19 |
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">< Return</a> + </div> +{{ template "article" . }} + <div class="return"> + <a href="/blog">< Return</a> + </div> +</section> +{{ end }}
\ No newline at end of file |