mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 06:17:49 +00:00
- Split macros.html in per-edition files - Create new snippets.html macro file with utterances snippet - Move support.html to snippets.html as new macro - Create new `latest_post` macro in 2nd edition macros.html
27 lines
855 B
HTML
27 lines
855 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}{{ section.title }} | {{ config.title }}{% endblock title %}
|
|
|
|
{% block main %}
|
|
|
|
<h1>{{ section.title }}</h1>
|
|
|
|
{% block introduction %}{% endblock introduction %}
|
|
|
|
<div class="posts neutral">
|
|
{% for page in section.pages %}
|
|
<div>
|
|
<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" style="margin-bottom: 0.5rem;">
|
|
{{ page.date | date(format="%b %d, %Y") }}
|
|
</time>
|
|
<div class="post-summary" style="margin-bottom: 2rem;">
|
|
{{ page.summary | safe}}
|
|
<a class="read-more" href="{{ page.path | safe }}">read more…</a>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% endblock main %}
|