mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27: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
23 lines
518 B
HTML
23 lines
518 B
HTML
{% extends "edition-2/base.html" %}
|
|
|
|
{% import "snippets.html" as snippets %}
|
|
|
|
{% 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>
|
|
{{ snippets::utterances() }}
|
|
</section>
|
|
{% endblock after_main %}
|