aboutsummaryrefslogtreecommitdiff
path: root/md
diff options
context:
space:
mode:
authorthinkpadmaster <a.scerba02@gmail.com>2023-08-29 17:15:26 -0500
committerAlex Scerba <alex@scerba.org>2024-10-29 13:19:57 -0400
commit74fee3bd97de12cc090702a6b8cd6285e7e1e6f5 (patch)
tree700fd85cc66e3c4bb61c9e82285869c803019ffb /md
parentb56e200279475e1dbe138ed24afb565571b6fe28 (diff)
Update to use new style elements.
Diffstat (limited to 'md')
-rw-r--r--md/POST_TEMPLATE.tmpl.html12
1 files changed, 7 insertions, 5 deletions
diff --git a/md/POST_TEMPLATE.tmpl.html b/md/POST_TEMPLATE.tmpl.html
index 405f327..cca9a30 100644
--- a/md/POST_TEMPLATE.tmpl.html
+++ b/md/POST_TEMPLATE.tmpl.html
@@ -5,9 +5,11 @@
{{define "main"}}
<h1>$page$</h1>
-<article class="postContent">
- <h2>{{.Post.Title}}</h2>
- $body$
- <p>Uploaded: <time datetime="$date$">$date$</time></p>
-</article>
+<div class="postBackground">
+ <article class="$type$Content">
+ <h2>{{.Post.Title}}</h2>
+ $body$
+ <p>Uploaded: <time datetime="$date$">$date$</time></p>
+ </article>
+</div>
{{end}}