Fix uses of giscus macro in edition-3 templates

This commit is contained in:
Philipp Oppermann
2022-12-18 11:48:02 +01:00
parent 2c96cfe972
commit 87b440c79a
2 changed files with 2 additions and 2 deletions

View File

@@ -17,6 +17,6 @@
<hr> <hr>
<section> <section>
<h2 id="comments">Comments</h2> <h2 id="comments">Comments</h2>
{{ snippets::giscus(search_term=page.title ~ " (Extra Post)") }} {{ snippets::giscus(search_term=page.title ~ " (Extra Post)", lang=page.lang) }}
</section> </section>
{% endblock after_main %} {% endblock after_main %}

View File

@@ -113,7 +113,7 @@
{% else %} {% else %}
{% set search_term=page.title %} {% set search_term=page.title %}
{% endif %} {% endif %}
{{ snippets::giscus(search_term=search_term) }} {{ snippets::giscus(search_term=search_term, lang=page.lang) }}
{%- if page.lang != "en" %} {%- if page.lang != "en" %}
<p class="{% if page.extra.rtl %}right-to-left{% endif %}"> <p class="{% if page.extra.rtl %}right-to-left{% endif %}">