mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix uses of giscus macro in edition-3 templates
This commit is contained in:
@@ -17,6 +17,6 @@
|
||||
<hr>
|
||||
<section>
|
||||
<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>
|
||||
{% endblock after_main %}
|
||||
|
||||
@@ -113,7 +113,7 @@
|
||||
{% else %}
|
||||
{% set search_term=page.title %}
|
||||
{% endif %}
|
||||
{{ snippets::giscus(search_term=search_term) }}
|
||||
{{ snippets::giscus(search_term=search_term, lang=page.lang) }}
|
||||
|
||||
{%- if page.lang != "en" %}
|
||||
<p class="{% if page.extra.rtl %}right-to-left{% endif %}">
|
||||
|
||||
Reference in New Issue
Block a user