Hide dates on main articles page

This commit is contained in:
Oliver Davies 2019-03-04 10:13:52 +00:00
parent 739888cdae
commit 3a5e5e33f7
2 changed files with 7 additions and 3 deletions

View file

@ -1,11 +1,13 @@
<div class="mb-2">
<div class="mb-1">
<h2 class="text-inherit text-lg m-0">
<a href="{{ post.url }}" class="text-black inline-block">
{{ post.draft ? 'Draft: '|upper }}{{ post.title }}
</a>
</h2>
<p class="text-sm text-grey-dark">Posted on {{ post.date|date('jS F Y') }}</p>
{% if show_date %}
<p class="text-sm text-grey-dark mb-1">Posted on {{ post.date|date('jS F Y') }}</p>
{% endif %}
</div>
<div>