Tweaks
This commit is contained in:
parent
a3dcda88b3
commit
37c766a802
24 changed files with 82 additions and 125 deletions
14
source/_partials/blog/post-summary.html.twig
Normal file
14
source/_partials/blog/post-summary.html.twig
Normal file
|
@ -0,0 +1,14 @@
|
|||
<h2 class="text-2xl mb-1">{{ post.draft ? 'Draft: '|upper }}{{ post.title }}</h2>
|
||||
|
||||
<p class="text-sm text-grey-dark mb-4">Posted on {{ post.date|date('jS F Y') }}</p>
|
||||
|
||||
{% include 'post/intro-image' with { page: post } %}
|
||||
|
||||
<div class="markup mb-4">
|
||||
<p>{{ post.excerpt }}</p>
|
||||
</div>
|
||||
|
||||
<a href="{{ post.url }}" class="button">
|
||||
Read more
|
||||
<span class="visuallyhidden">about {{ post.title }}</span>
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue