mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37: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"
|
template = "status-update-section.html"
|
||||||
page_template = "status-update-page.html"
|
page_template = "status-update-page.html"
|
||||||
sort_by = "date"
|
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 %}
|
{% for page in extra.pages %}
|
||||||
<li><a href="/{{ page.path | safe }}">{{ page.title }}</a></li>
|
<li><a href="/{{ page.path | safe }}">{{ page.title }}</a></li>
|
||||||
{% endfor %}
|
{% 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>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -9,9 +9,7 @@
|
|||||||
<h1>{{ section.title }}</h1>
|
<h1>{{ section.title }}</h1>
|
||||||
|
|
||||||
{% block introduction %}
|
{% block introduction %}
|
||||||
<p>
|
<p>{{ section.description }}</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>
|
|
||||||
{% endblock introduction %}
|
{% endblock introduction %}
|
||||||
|
|
||||||
<div><ul>
|
<div><ul>
|
||||||
|
|||||||
Reference in New Issue
Block a user