Files
blog_os/blog/templates/edition-2/extra.html
Philipp Oppermann b05c07d21c Move comment threads for translated posts to separate category
Avoids that a search for the post title returns a thread for a translated post.
2022-06-07 10:06:48 +02:00

23 lines
586 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 id="comments">Comments</h2>
{{ snippets::giscus(search_term=page.title ~ " (Extra Post)", translated=false) }}
</section>
{% endblock after_main %}