From 2d4b06ee25397c2ccb7e8b7bc8e6a95a65ed8e1a Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Sat, 11 Apr 2020 18:07:05 +0800 Subject: [PATCH] Use page.mirrorid prior to page.title in to fix case problems in help Signed-off-by: Harry Chen <i@harrychen.xyz> --- _includes/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index b76dae6..adbb856 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,7 +6,7 @@ <meta name="keywords" content="镜像站,镜像源,Linux,软件源,开源"> <meta name="author" content="TUNA"> <link rel="shortcut icon" href="/static/img/favicon.png"> -<title>{% if page.title %} {{ page.title }} |{% endif %}{% if include.cattitle %} {{ include.cattitle }} |{% endif %}{% if (page.title || include.cattitle) %}{{" "}}{% endif %}{{ site.title }}{% if site.brand %} | {{ site.brand }}{% endif %} +{% if page.mirrorid %} {{ page.mirrorid }} |{% elsif page.title %} {{ page.title }} |{% endif %}{% if include.cattitle %} {{ include.cattitle }} |{% endif %}{% if (page.title || include.cattitle) %}{{" "}}{% endif %}{{ site.title }}{% if site.brand %} | {{ site.brand }}{% endif %}