From 223ea199f38eba48fc70c3d28a0a05809948c877 Mon Sep 17 00:00:00 2001 From: Mimi <1119186082@qq.com> Date: Sun, 16 Jul 2023 01:40:20 +0800 Subject: [PATCH] Remove gitter support --- _config.yml | 6 ------ layout/_partials/sidebar/site-overview.njk | 4 ++-- layout/_third-party/chat/gitter.njk | 3 --- layout/_third-party/index.njk | 2 -- scripts/filters/minify.js | 4 ---- source/css/_common/components/third-party/gitter.styl | 7 ------- source/css/_common/components/third-party/index.styl | 1 - source/js/third-party/chat/gitter.js | 5 ----- 8 files changed, 2 insertions(+), 30 deletions(-) delete mode 100644 layout/_third-party/chat/gitter.njk delete mode 100644 source/css/_common/components/third-party/gitter.styl delete mode 100644 source/js/third-party/chat/gitter.js diff --git a/_config.yml b/_config.yml index a14295c..7cb1b69 100644 --- a/_config.yml +++ b/_config.yml @@ -893,12 +893,6 @@ tidio: enable: false key: # Public Key, get it from dashboard. See: https://www.tidio.com/panel/settings/developer -# Gitter is a chat and networking platform. -# For more information: https://gitter.im -gitter: - enable: false - room: - # --------------------------------------------------------------- # CDN Settings diff --git a/layout/_partials/sidebar/site-overview.njk b/layout/_partials/sidebar/site-overview.njk index 997e86f..23e15c2 100644 --- a/layout/_partials/sidebar/site-overview.njk +++ b/layout/_partials/sidebar/site-overview.njk @@ -51,9 +51,9 @@ {%- endif %} -{%- if theme.chat.enable and (theme.chatra.enable or theme.tidio.enable or theme.gitter.enable) %} +{%- if theme.chat.enable and (theme.chatra.enable or theme.tidio.enable) %}