Skip to content

Commit

Permalink
add SEO meta tags:author,subtitle
Browse files Browse the repository at this point in the history
  • Loading branch information
Siricee committed Oct 18, 2019
1 parent eaefcc3 commit b88578b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
9 changes: 9 additions & 0 deletions ChangeLogs.md
Original file line number Diff line number Diff line change
@@ -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`.
Expand Down
8 changes: 7 additions & 1 deletion layout/_partial/head.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<% if(config.author){ %>
<meta name="author" content="<%- config.author %>">
<% } %>
<% if(config.subtitle){ %>
<meta name="subtitle" content="<%- config.subtitle %>">
<% } %>
<% if(config.description){ %>
<meta name="description" content="<%- config.description %>">
<% } %>
Expand Down
2 changes: 1 addition & 1 deletion source/css/style.styl
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
@import "media.styl"
// highlight
// @import "_highlight/solarized-light.styl"
@import "_highlight/mono-blue.styl"
@import "_highlight\highlightjs.styl"
//// ==============================
//// Custom style
//// ==============================
Expand Down

0 comments on commit b88578b

Please sign in to comment.