From b88578b0c800f1a715dd4b86bfb1af5eb96a5171 Mon Sep 17 00:00:00 2001 From: Siricee Date: Fri, 18 Oct 2019 22:41:44 +0800 Subject: [PATCH] add SEO meta tags:author,subtitle --- ChangeLogs.md | 9 +++++++++ layout/_partial/head.ejs | 8 +++++++- source/css/style.styl | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/ChangeLogs.md b/ChangeLogs.md index 018c5f23..845ad64c 100644 --- a/ChangeLogs.md +++ b/ChangeLogs.md @@ -1,4 +1,13 @@ Changelogs + +## 2019.10.18 + +\[enhancement\] add SEO meta name `author,subtitle`. + +## 2019.9.16 + +\[optimization\] change code style line-height 1.7em. + ## 2019.9.11 \[deprecated\] deprecated variable `theme.language`, which can be instead of `config.language`. diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index ad114778..a3c27ef9 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,7 +1,13 @@ + content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> +<% if(config.author){ %> + +<% } %> +<% if(config.subtitle){ %> + +<% } %> <% if(config.description){ %> <% } %> diff --git a/source/css/style.styl b/source/css/style.styl index 844a95e9..841a9beb 100644 --- a/source/css/style.styl +++ b/source/css/style.styl @@ -35,7 +35,7 @@ @import "media.styl" // highlight // @import "_highlight/solarized-light.styl" -@import "_highlight/mono-blue.styl" +@import "_highlight\highlightjs.styl" //// ============================== //// Custom style //// ==============================