mirror of https://gitlab.com/curben/blog
feat: remove metaGenerator helper
- svg issue has been fixed https://github.com/hexojs/hexo/pull/3697
This commit is contained in:
parent
57edece785
commit
1d5966e191
|
@ -86,8 +86,6 @@ neat_svg:
|
|||
deploy:
|
||||
type:
|
||||
|
||||
meta_generator: false
|
||||
|
||||
feed:
|
||||
icon: '/svg/favicon.svg'
|
||||
|
||||
|
|
|
@ -1,8 +0,0 @@
|
|||
'use strict'
|
||||
/* global hexo */
|
||||
|
||||
function metaGeneratorHelper () {
|
||||
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
|
||||
}
|
||||
|
||||
hexo.extend.helper.register('metaGenerator', metaGeneratorHelper)
|
|
@ -22,7 +22,6 @@
|
|||
%>
|
||||
<title><% if (title) { %><%= title %> | <% } %><%= config.title %></title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<%- metaGenerator() %>
|
||||
<%/* Add Open Graph meta tags for easier sharing on social networking sites */%>
|
||||
<%/* Modified from original source for compatibility with my blog */%>
|
||||
<%- openGraph() %>
|
||||
|
|
Loading…
Reference in New Issue