summary refs log tree commit diff
path: root/src/blog.njk
diff options
context:
space:
mode:
Diffstat (limited to 'src/blog.njk')
-rw-r--r--src/blog.njk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/blog.njk b/src/blog.njk
index dd04288..a8ec510 100644
--- a/src/blog.njk
+++ b/src/blog.njk
@@ -10,5 +10,8 @@ reverse = true
 <article>
 	<h2><a href="{{ post.url | url }}">{{ post.data.title }}</a></h2>
 	<time datetime="{{ post.date | rfc3339_datetime }}">{{ post.date | local_date }}</time>
+	{%- if post.data.page.excerpt -%}
+		<p>{{ post.data.page.excerpt | safe }}
+	{%- endif -%}
 </article>
 {% endfor %}