Skip to content

Commit 72dd89c

Browse files
committed
Display page description on article templates
1 parent a969d08 commit 72dd89c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

templates/articles/article.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
<h1 class="text-2xl font-bold m-2 p-2">
1919
{{ page.title }}
2020
</h1>
21+
{% if page.description %}
22+
<div class="p-2">{{ page.description }}</div>
23+
{% endif %}
2124
{% if page.date %}
2225
<p class="subtitle">
2326
Published on {{ page.date | date(format="%Y-%m-%d") }}

0 commit comments

Comments
 (0)