fix:修正全局关键字配置和显示。
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
<% } %>
|
||||
<%- partial('partial/styles') -%>
|
||||
<title><%= config.title %> - <%= config.subtitle %></title>
|
||||
<%_ if (config.keyword) { -%>
|
||||
<meta name="keywords" content="<% config.keyword %>">
|
||||
<%_ if (page.keywords) { -%>
|
||||
<meta name="keywords" content="<%= config.keywords %>,<%= page.keywords %>">
|
||||
<%_ } else if (config.keywords) { -%>
|
||||
<meta name="keywords" content="<%= config.keywords %>">
|
||||
<%_ } -%>
|
||||
<%_ if (config.description) { -%>
|
||||
<meta name="description" content="<%= config.description %>">
|
||||
|
Reference in New Issue
Block a user