diff --git a/_config.yml b/_config.yml index a2d0ba2..d862b48 100644 --- a/_config.yml +++ b/_config.yml @@ -86,8 +86,6 @@ neat_svg: deploy: type: -meta_generator: false - feed: icon: 'svg/rss.svg' diff --git a/scripts/metaGenerator.js b/scripts/metaGenerator.js deleted file mode 100644 index 39116d5..0000000 --- a/scripts/metaGenerator.js +++ /dev/null @@ -1,8 +0,0 @@ -'use strict' -/* global hexo */ - -function metaGeneratorHelper () { - return ''.replace('%s', this.env.version) -} - -hexo.extend.helper.register('metaGenerator', metaGeneratorHelper) diff --git a/themes/typing/layout/_partial/head.ejs b/themes/typing/layout/_partial/head.ejs index abc4236..9324534 100644 --- a/themes/typing/layout/_partial/head.ejs +++ b/themes/typing/layout/_partial/head.ejs @@ -1,6 +1,5 @@
- <%- metaGenerator() %> <% let title = page.title