mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Improve margins for news section
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user