Improve margins for news section

This commit is contained in:
Philipp Oppermann
2019-04-09 13:40:11 +02:00
parent d10531f65d
commit 4f557713ea

View File

@@ -14,10 +14,10 @@
{% for page in section.pages %}
<div>
<h2 class="post-title"><a href="/{{ page.path | safe }}">{{ page.title }}</a></h2>
<time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date">
<time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date" style="margin-bottom: 0.5rem;">
{{ page.date | date(format="%b %d, %Y") }}
</time>
<div class="post-summary">
<div class="post-summary" style="margin-bottom: 2rem;">
{{ page.summary | safe}}
<a class="read-more" href="/{{ page.path | safe }}">read more…</a>
</div>