feat: add page.keywords and page.description
This commit is contained in:
parent
827ca6faeb
commit
04303ad18b
|
@ -1,8 +1,8 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||||
<meta name="keywords" content="<%= config.keywords || 'Hexo Theme Keep' %>">
|
<meta name="keywords" content="<%= page.keywords || config.keywords || 'Hexo Theme Keep' %>">
|
||||||
<meta name="description" content="<%= config.description || 'Hexo Theme Keep' %>">
|
<meta name="description" content="<%= page.description || config.description || 'Hexo Theme Keep' %>">
|
||||||
<meta name="author" content="<%= theme.base_info.author || config.author || 'Keep Team' %>">
|
<meta name="author" content="<%= theme.base_info.author || config.author || 'Keep Team' %>">
|
||||||
<%
|
<%
|
||||||
let title = page.title;
|
let title = page.title;
|
||||||
|
|
Loading…
Reference in New Issue