feat: remove metaGenerator helper

- svg issue has been fixed https://github.com/hexojs/hexo/pull/3697
This commit is contained in:
curben 2019-09-04 01:26:51 +01:00
parent 57edece785
commit 1d5966e191
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
3 changed files with 0 additions and 11 deletions

View File

@ -86,8 +86,6 @@ neat_svg:
deploy:
type:
meta_generator: false
feed:
icon: '/svg/favicon.svg'

View File

@ -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)

View File

@ -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() %>