Fix swapped if/else in comment thread selection

This commit is contained in:
Philipp Oppermann
2022-06-07 10:14:12 +02:00
parent 2eb5147675
commit eeac9e880c

View File

@@ -12,11 +12,11 @@
{% macro giscus(search_term, translated) %} {% macro giscus(search_term, translated) %}
{% if translated %} {% if translated %}
{% set category = "Post Comments" %}
{% set category_path = "post-comments" %}
{% else %}
{% set category = "Post Comments (translated)" %} {% set category = "Post Comments (translated)" %}
{% set category_path = "post-comments-translated" %} {% set category_path = "post-comments-translated" %}
{% else %}
{% set category = "Post Comments" %}
{% set category_path = "post-comments" %}
{% endif %} {% endif %}
{% if search_term is number %} {% if search_term is number %}