mirror of https://gitlab.com/curben/blog
feat(metaGenerator): drop metaGenerator in favor of Hexo's
* https://github.com/hexojs/hexo/pull/3671
This commit is contained in:
parent
4b77924e2d
commit
afb4741be6
|
@ -86,8 +86,6 @@ neat_svg:
|
|||
deploy:
|
||||
type:
|
||||
|
||||
meta_generator: false
|
||||
|
||||
feed:
|
||||
icon: 'svg/rss.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)
|
|
@ -1,6 +1,5 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<%- metaGenerator() %>
|
||||
<%
|
||||
let title = page.title
|
||||
|
||||
|
|
Loading…
Reference in New Issue