diff --git a/source/_partials/blog/post-summary.html.twig b/source/_partials/blog/post-summary.html.twig index d507007d..1eae1be2 100644 --- a/source/_partials/blog/post-summary.html.twig +++ b/source/_partials/blog/post-summary.html.twig @@ -1,8 +1,12 @@
-
+

{{ post.draft ? 'Draft: '|upper }}{{ post.title }}

+ + {% if show_date %} + + {% endif %}
diff --git a/source/articles/archive.html.twig b/source/articles/archive.html.twig index 5c74d938..fa7fab56 100644 --- a/source/articles/archive.html.twig +++ b/source/articles/archive.html.twig @@ -18,7 +18,9 @@ use: [posts]
{% for post in data.posts %}
- {% include 'blog/post-summary' %} + {% include 'blog/post-summary' with { + show_date: true, + } %}
{% endfor %}