Files
blog_os/blog/templates/edition-2/extra.html
Philipp Oppermann a46c20ef93 Switch comments from utterances to giscus
to use GitHub discussions instead of issues for comment threads.
2021-06-12 16:12:38 +02:00

24 lines
619 B
HTML

{% extends "edition-2/base.html" %}
{% import "snippets.html" as snippets %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block head %}<meta property="og:title" content="{{ page.title }}" />{% endblock head %}
{% 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 id="comments">Comments</h2>
{{ snippets::giscus() }}
</section>
{% endblock after_main %}