From 87b440c79a99f5d27311a5116e0adb557ad1bcce Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Sun, 18 Dec 2022 11:48:02 +0100 Subject: [PATCH] Fix uses of giscus macro in edition-3 templates --- blog/templates/edition-3/extra.html | 2 +- blog/templates/edition-3/page.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blog/templates/edition-3/extra.html b/blog/templates/edition-3/extra.html index 2af4e504..05ec7e8f 100644 --- a/blog/templates/edition-3/extra.html +++ b/blog/templates/edition-3/extra.html @@ -17,6 +17,6 @@

Comments

- {{ snippets::giscus(search_term=page.title ~ " (Extra Post)") }} + {{ snippets::giscus(search_term=page.title ~ " (Extra Post)", lang=page.lang) }}
{% endblock after_main %} diff --git a/blog/templates/edition-3/page.html b/blog/templates/edition-3/page.html index 6a070534..abab1b9c 100644 --- a/blog/templates/edition-3/page.html +++ b/blog/templates/edition-3/page.html @@ -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" %}