Skip to content

Commit fa4a115

Browse files
committedAug 3, 2021
Remove redundant site.name from description
Signed-off-by: Harry Chen <[email protected]>
1 parent fea011b commit fa4a115

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed
 

‎404.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<!DOCTYPE html>
55
<html>
6-
{% capture metaDesc %}您访问的资源在{{ site.title }}上未找到{% endcapture %}
6+
{% capture metaDesc %}您访问的资源未能找到{% endcapture %}
77
{% include head.html cattitle="404" metaDesc=metaDesc notArticle=true%}
88
<body>
99
{% include nav.html %}

‎_includes/head.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<meta http-equiv="X-UA-Compatible" content="IE=edge">
44
<meta name="viewport" content="width=device-width, initial-scale=1">
55

6-
{% capture page_desc %}{% if include.metaDesc %}{{ include.metaDesc }}{% endif %} | {{ site.title }},致力于为国内和校内用户提供高质量的开源软件镜像、Linux 镜像源服务,帮助用户更方便地获取开源软件。本镜像站由清华大学 TUNA 协会负责运行维护。{% endcapture %}
6+
{% capture page_desc %}{% if include.metaDesc %}{{ include.metaDesc }} | {% if include.cattitle %}{{ include.cattitle }} | {% endif %}{% endif %}{{ site.title }},致力于为国内和校内用户提供高质量的开源软件镜像、Linux 镜像源服务,帮助用户更方便地获取开源软件。本镜像站由清华大学 TUNA 协会负责运行维护。{% endcapture %}
77
{% capture page_title %}{% if page.mirrorid %} {{ page.mirrorid }} |{% elsif page.title %} {{ page.title }} |{% endif %}{% if include.cattitle %} {{ include.cattitle }} |{% endif %}{% if (page.title or include.cattitle) %}{{" "}}{% endif %}{{ site.title }}{% if site.brand %} | {{ site.brand }}{% endif %}{% endcapture %}
88

99
<meta name="description" content="{{ page_desc }}">

‎_layouts/help.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3-
{% capture metaDesc %}{{ site.title }}的 {{ page.mirrorid }} 使用帮助{% endcapture %}
3+
{% capture metaDesc %}{{ page.mirrorid }} 使用帮助{% endcapture %}
44
{% include head.html cattitle="镜像站使用帮助" metaDesc=metaDesc %}
55
<body>
66
{% include nav.html %}

‎_layouts/news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3-
{% capture metaDesc %}{{ site.title }} | {{ page.title }}{% endcapture %}
3+
{% capture metaDesc %}{{ page.title }}{% endcapture %}
44
{% include head.html cattitle="镜像站新闻" metaDesc=metaDesc %}
55
<body>
66
{% include nav.html %}

‎news.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
---
55
<!DOCTYPE html>
66
<html>
7-
{% capture metaDesc %}{{ site.title }}的新闻{% endcapture %}
7+
{% capture metaDesc %}镜像站新闻{% endcapture %}
88
{% include head.html metaDesc=metaDesc notArticle=true %}
99
<body>
1010
{% include nav.html %}

‎status.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<!DOCTYPE html>
55
<html>
6-
{% capture metaDesc %}{{ site.title }}的监控,包括网络流量、磁盘状态、磁盘占用和 CPU 与内存的使用情况,以及各个镜像的同步状态{% endcapture %}
6+
{% capture metaDesc %}镜像站监控,包括网络流量、磁盘状态、磁盘占用和 CPU 与内存的使用情况,以及各个镜像的同步状态{% endcapture %}
77
{% include head.html metaDesc=metaDesc notArticle=true %}
88
<body>
99
{% include nav.html %}

0 commit comments

Comments
 (0)
Please sign in to comment.