mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Add status update posts to front page
This commit is contained in:
@@ -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."
|
||||
+++
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user