From aebc80387dd21a70b489c3e628cf5bffc9c1e55d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 13 May 2021 09:34:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E4=BF=AE=E6=AD=A3=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=85=B3=E9=94=AE=E5=AD=97=E9=85=8D=E7=BD=AE=E5=92=8C=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _config.yml | 4 ++-- themes/grid/layout/partial/head.ejs | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_config.yml b/_config.yml index 981be66..c09f355 100644 --- a/_config.yml +++ b/_config.yml @@ -5,8 +5,8 @@ # Site title: ArchGrid subtitle: 架构知识网格 -description: "这里有作为一个架构师所需要知道的任何事情,这是一个解决方案的集散地。" -keywords: 架构设计, Java, Kotlin, Golang, Rust, Javascript, 前端, 后端, Spring, 修身, 养性 +description: 这里有作为一个架构师所需要知道的任何事情,这是一个解决方案的集散地,而且这里还汇集了生活里的点点滴滴。 +keywords: 架构师,架构知识,架构设计,算法,微服务,DevOps,前端,后端,IT,生活,修身,养性,游记 author: ArchKnight language: zh-Hans-CN timezone: "Asia/Shanghai" diff --git a/themes/grid/layout/partial/head.ejs b/themes/grid/layout/partial/head.ejs index d295be4..b8a018e 100644 --- a/themes/grid/layout/partial/head.ejs +++ b/themes/grid/layout/partial/head.ejs @@ -18,8 +18,10 @@ <% } %> <%- partial('partial/styles') -%> <%= config.title %> - <%= config.subtitle %> - <%_ if (config.keyword) { -%> - + <%_ if (page.keywords) { -%> + + <%_ } else if (config.keywords) { -%> + <%_ } -%> <%_ if (config.description) { -%>