Merge pull request #21 from ic3evi1/master

给主题添加关键字,方便SEO
i18n
Mr. X 6 years ago committed by GitHub
commit daf5580fed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      layout/_partial/head.ejs

@ -18,6 +18,12 @@
title = 'Tag: ' + page.tag;
%>
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
<% if (page.keywords){ %>
<meta name="keywords" content="<%= page.keywords %>,<%= config.keywords %>">
<% } else if (config.keywords){ %>
<meta name="keywords" content="<%= config.keywords %>">
<%}
%>
<meta name="HandheldFriendly" content="True" />
<meta name="apple-mobile-web-app-capable" content="yes">
<%- favicon_tag(config.favicon) %>

Loading…
Cancel
Save