summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/blog.njk6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/blog.njk b/src/blog.njk
index a8ec510..84c6f03 100644
--- a/src/blog.njk
+++ b/src/blog.njk
@@ -7,9 +7,11 @@ size = 20
 reverse = true
 ---
 {% for post in posts %}
-<article>
+<article class=blogpost>
 	<h2><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
-	<time datetime="{{ post.date | rfc3339_datetime }}">{{ post.date | local_date }}</time>
+	<time datetime="{{ post.date | rfc3339_datetime }}" title="{{ post.date | rfc3339_datetime}}">
+		{{ post.date | local_date }}
+	</time>
 	{%- if post.data.page.excerpt -%}
 		<p>{{ post.data.page.excerpt | safe }}
 	{%- endif -%}