From 032f4d61c05ad88dd403ceab8cdfd06af8151691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?iBug=20=E2=99=A6?= Date: Mon, 14 Oct 2019 22:06:48 +0800 Subject: [PATCH] head/title: Respect site.title and site.brand if set --- _includes/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/head.html b/_includes/head.html index e02874d..641587d 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -6,7 +6,7 @@ -{% if page.title %} {{ page.title }} |{% endif %}{% if include.cattitle %} {{ include.cattitle }} |{% endif %}{% if (page.title || include.cattitle) %}{{" "}}{% endif %}清华大学开源软件镜像站 | Tsinghua Open Source Mirror +{% if page.title %} {{ page.title }} |{% endif %}{% if include.cattitle %} {{ include.cattitle }} |{% endif %}{% if (page.title || include.cattitle) %}{{" "}}{% endif %}{{ site.title | default: "清华大学开源软件镜像站" }} | {{ site.brand | default: "Tsinghua Open Source Mirror" }}