feat(metaGenerator): drop metaGenerator in favor of Hexo's

* https://github.com/hexojs/hexo/pull/3671
This commit is contained in:
curben 2019-08-26 20:49:16 +09:30
parent 4b77924e2d
commit afb4741be6
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/rss.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

@ -1,6 +1,5 @@
<head>
<meta charset="utf-8">
<%- metaGenerator() %>
<%
let title = page.title