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.html17
1 files changed, 11 insertions, 6 deletions
diff --git a/templates/post.rs.html b/templates/post.rs.html
index 321dbec..2823b3b 100644
--- a/templates/post.rs.html
+++ b/templates/post.rs.html
@@ -5,12 +5,17 @@
@: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>
+<article class="h-entry">
+ <h1 class="p-name">@post.front_matter.title.clone()</h1>
+ <span>
+ <small>Posted <time class="dt-published"
+ datetime="@post.clone().date.format("%F
+ %T")">@post.clone().date.format("%d %B %Y") by
+ <div class="p-author
+ h-card">@post.clone().author</div></small>
+ </span>
-@body
+ @body
+</article>
@:footer_html()