{% set automatic_loading = config.extra[comment_system].automatic_loading %}

<div id="comments" class="comments"

{% if comment_system == "giscus" %}
    data-repo="{{ config.extra.giscus.repo }}"
    data-repo-id="{{ config.extra.giscus.repo_id }}"
    data-category="{{ config.extra.giscus.category }}"
    data-category-id="{{ config.extra.giscus.category_id }}"
    {% if config.extra.giscus.mapping == "slug" %}
        data-mapping="specific"
        data-term="{{ page.slug }}"
    {% else %}
        dat