Files
blog_os/blog/templates/edition-1/section.html
Philipp Oppermann aa227c7dc6 Restructure macros
- 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
2021-01-02 18:09:06 +01:00

20 lines
417 B
HTML

{% extends "edition-1/base.html" %}
{% import "edition-1/macros.html" as macros %}
{% 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 %}
{{ macros::post_link(page=page) }}
{% endfor %}
</div>
{% endblock main %}