diff --git a/docs/overrides/partials/comments.html b/docs/overrides/partials/comments.html index 565e3b42..275c30a4 100644 --- a/docs/overrides/partials/comments.html +++ b/docs/overrides/partials/comments.html @@ -1,53 +1,29 @@ {% if page.meta.comments %}

{{ lang.t("meta.comments") }}

- - - - +
{% endif %} diff --git a/docs/overrides/partials/comments.html.disqus b/docs/overrides/partials/comments.html.disqus new file mode 100644 index 00000000..275c30a4 --- /dev/null +++ b/docs/overrides/partials/comments.html.disqus @@ -0,0 +1,29 @@ +{% if page.meta.comments %} +

{{ lang.t("meta.comments") }}

+
+ +{% endif %} diff --git a/docs/overrides/partials/comments.html.giscus b/docs/overrides/partials/comments.html.giscus new file mode 100644 index 00000000..565e3b42 --- /dev/null +++ b/docs/overrides/partials/comments.html.giscus @@ -0,0 +1,53 @@ +{% if page.meta.comments %} +

{{ lang.t("meta.comments") }}

+ + + + + +{% endif %} diff --git a/mkdocs.yml b/mkdocs.yml index 74e63ed3..44ef58a3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -15,6 +15,11 @@ watch: # Additional configuration extra: + # disqus docs: + # 1. https://github.com/squidfunk/mkdocs-material/discussions/2138#discussioncomment-250454 + # 2. https://github.com/squidfunk/mkdocs-material/pull/3329#issuecomment-1013855846 + # 3. https://github.com/squidfunk/mkdocs-material/commit/f9e94184620806ceff55b6a8c2df0292b39369e4 + disqus: copdips analytics: property: G-L9KPHRQNQN provider: google