This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_partials/blog/post-summary.html.twig
2019-03-04 09:49:40 +00:00

14 lines
348 B
Twig

<div class="mb-2">
<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>
</div>
<div>
<p>{{ post.excerpt }}</p>
</div>