Skip to content
Discussion options

You must be logged in to vote

I managed to make it work by simply replacing the current script part in my disqus override with the one giscus gives me after configuring it.

Here's an example of my current disqus.html override:

{% set disqus = config.extra.disqus %}
{% if page and page.meta and page.meta.disqus is string %}
  {% set disqus = page.meta.disqus %}
{% endif %}

<!-- Disqus integration -->
{% if not page.is_homepage and disqus %}
  <h2 id="__comments">
    <span class="twemoji">
      {% include ".icons/octicons/comment-discussion-24.svg" %}
    </span>
    {{ lang.t("meta.comments") }}
  </h2>
  <div id="disqus_thread"></div>
  <script src="https://giscus.app/client.js"
        data-repo="Andre601/blog"
  …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@squidfunk
Comment options

Answer selected by Andre601
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants