summaryrefslogtreecommitdiff
path: root/templates/post.rs.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/post.rs.html')
-rw-r--r--templates/post.rs.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/post.rs.html b/templates/post.rs.html
index c638bfb..321dbec 100644
--- a/templates/post.rs.html
+++ b/templates/post.rs.html
@@ -3,7 +3,13 @@
@(post: Post, body: impl ToHtml)
-@:header_html(Some(&post.front_matter.title.clone()), None))
+@:header_html(Some(&post.front_matter.title.clone()), None)
+
+<h1>@post.front_matter.title.clone()</h1>
+<span>
+ <small>Posted @post.clone().date.format("%B %d %Y") by
+ @post.clone().author</small>
+</span>
@body