Add status update posts to front page

This commit is contained in:
Philipp Oppermann
2019-10-06 15:20:39 +02:00
parent 945aaf02d8
commit fd64bb9d36
3 changed files with 14 additions and 4 deletions

View File

@@ -3,4 +3,5 @@ title = "Status Updates"
template = "status-update-section.html"
page_template = "status-update-page.html"
sort_by = "date"
description = "These posts give a regular overview of the most important changes to the blog and the tools and libraries behind the scenes."
+++

View File

@@ -71,7 +71,18 @@
{% for page in extra.pages %}
<li><a href="/{{ page.path | safe }}">{{ page.title }}</a></li>
{% endfor %}
<li><a href="/status-update">Status Updates</a></li>
</ul>
</div>
<div class="frontpage-section">
<h1>Status Updates</h1>
{% set status_updates = get_section(path = "status-update/_index.md") %}
<p>{{ status_updates.description }}</p>
<ul>
{% for page in status_updates.pages | slice(end=3) %}
<li><b><a href="/{{ page.path | safe }}">{{ page.title }}</a></b></li>
{% endfor %}
<li><a href="{{ get_url(path="@/status-update/_index.md") }}"><em>view all »</em></a></li>
</ul>
</div>

View File

@@ -9,9 +9,7 @@
<h1>{{ section.title }}</h1>
{% block introduction %}
<p>
These posts give a semi-regular overview of the most important changes to the blog and the tools and libraries behind the scenes.
</p>
<p>{{ section.description }}</p>
{% endblock introduction %}
<div><ul>