From 3a5d5af6605d4bd46de2721bc1e45a62ac006ae7 Mon Sep 17 00:00:00 2001 From: Maciej Labedzki Date: Wed, 20 Dec 2023 10:13:15 +0100 Subject: [PATCH] ref #24068 - remove disqus --- mkdocs.yml | 1 - theme/main.html | 1 - theme/partials/integrations/disqus.html | 35 ------------------------- 3 files changed, 37 deletions(-) delete mode 100644 theme/partials/integrations/disqus.html diff --git a/mkdocs.yml b/mkdocs.yml index 3137f55f..81660164 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -72,7 +72,6 @@ extra: analytics: provider: google property: G-155L75RSLX - disqus: 'flotiq' social: - icon: fontawesome/brands/discord link: https://discord.com/invite/FwXcHnX diff --git a/theme/main.html b/theme/main.html index 4ca1f98e..f8c18350 100644 --- a/theme/main.html +++ b/theme/main.html @@ -35,5 +35,4 @@ {% block content %} {% include "partials/content.html" %}
- {% include "partials/integrations/disqus.html" %} {% endblock %} diff --git a/theme/partials/integrations/disqus.html b/theme/partials/integrations/disqus.html deleted file mode 100644 index 9f367e45..00000000 --- a/theme/partials/integrations/disqus.html +++ /dev/null @@ -1,35 +0,0 @@ -{% set disqus = config.extra.disqus %} -{% if page and page.meta and page.meta.disqus is string %} -{% set disqus = page.meta.disqus %} -{% endif %} - - -{% if not page.is_homepage and disqus %} -

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

-
- -{% endif %}