From 5de1889197ddda130d37a084d1527c5ce2bc9411 Mon Sep 17 00:00:00 2001
From: Eric Wong
Date: Sun, 10 Mar 2024 22:19:25 +0800
Subject: [PATCH] chore(website): clear website
1. remove google tag
2. remove baidu meta
3. remove search box
---
docs/_config.yml | 1 +
docs/_layouts/default.html | 62 +++-----------------------------------
2 files changed, 5 insertions(+), 58 deletions(-)
diff --git a/docs/_config.yml b/docs/_config.yml
index fa99fb2a9..319318d7e 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -1,6 +1,7 @@
theme: jekyll-theme-midnight
title: SpaceVim
description: A modular Vim/Neovim configuration
+description_cn: 一个模块化的 Vim/Neovim 配置集合
show_downloads: false
google_analytics: UA-89745542-1
gitment_client_id: 8f0cd1f544d1e4219798
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index 0e08c7e3d..6534b43c9 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -8,14 +8,7 @@
{{ page.title }} | SpaceVim
-
-
-
-
-
+
{% if page.type %}
@@ -59,7 +52,7 @@
{% if page.lang == "zh" %}
-
{{ site.description | default: site.github.project_tagline }}
+
{{ site.description_cn }}
主页 |
@@ -75,7 +68,7 @@
{% else %}
-
{{ site.description | default: site.github.project_tagline }}
+
{{ site.description }}
Home |
@@ -89,43 +82,10 @@
- {% endif %} {{ content }} {% if page.comments %}
-
-
-
-
-
{% endif %}
+ {{ content }}
-
- {% if site.google_analytics %}
-
-
-
- {% endif %}
{% if page.lang == "zh" %}
@@ -133,26 +93,12 @@
由Jekyll强力驱动
-
-
{% else %}
Powered by Jekyll
-
-
{% endif %}