diff --git a/blog/static/css/edition-2/main.css b/blog/static/css/edition-2/main.css index 32587de6..8fc7c411 100644 --- a/blog/static/css/edition-2/main.css +++ b/blog/static/css/edition-2/main.css @@ -462,3 +462,11 @@ a strong { .status-update-list li { margin-bottom: .5rem; } + +#comments { + visibility: hidden; +} + +.comment-directly-on-github { + margin-top: 1rem; +} diff --git a/blog/templates/edition-2/base.html b/blog/templates/edition-2/base.html index 628f1aff..f7587a9e 100644 --- a/blog/templates/edition-2/base.html +++ b/blog/templates/edition-2/base.html @@ -20,6 +20,8 @@ {% block title %}{% endblock title %} + + {% block head %}{% endblock head %} diff --git a/blog/templates/edition-2/extra.html b/blog/templates/edition-2/extra.html index 93c98f59..03079415 100644 --- a/blog/templates/edition-2/extra.html +++ b/blog/templates/edition-2/extra.html @@ -3,6 +3,7 @@ {% import "snippets.html" as snippets %} {% block title %}{{ page.title }} | {{ config.title }}{% endblock title %} +{% block head %}{% endblock head %} {% block description -%} {{ page.summary | safe | striptags | truncate(length=150) }} @@ -16,7 +17,7 @@ {% block after_main %}
-

Comments

- {{ snippets::utterances() }} +

Comments

+ {{ snippets::giscus() }}
{% endblock after_main %} diff --git a/blog/templates/edition-2/page.html b/blog/templates/edition-2/page.html index 799110f1..536d2ec8 100644 --- a/blog/templates/edition-2/page.html +++ b/blog/templates/edition-2/page.html @@ -4,6 +4,8 @@ {% import "snippets.html" as snippets %} {% block title %}{{ page.title }} | {{ config.title }}{% endblock title %} +{% block head %}{% endblock head %} + {% block header %} {% if lang != "en" -%} @@ -102,7 +104,7 @@

{% endif %} - {{ snippets::utterances() }} + {{ snippets::giscus() }}