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