Files
blog_os/blog/templates/edition-2/extra.html
Philipp Oppermann d56f51a2d3 Move macros
Each edition now has their own macros, so create a macros.html for the third edition too. Since the utterances theme differs between editions, we need to move it from snippets.html to the edition-specific macros.html too.
2021-01-03 15:03:49 +01:00

23 lines
522 B
HTML

{% extends "edition-2/base.html" %}
{% import "edition-2/macros.html" as macros %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block description -%}
{{ page.summary | safe | striptags | truncate(length=150) }}
{%- endblock description %}
{% block main %}
<h1>{{ page.title }}</h1>
{{ page.content | safe }}
{% endblock main %}
{% block after_main %}
<hr>
<section>
<h2>Comments</h2>
{{ macros::utterances() }}
</section>
{% endblock after_main %}