blog/scripts/metaGenerator.js

9 lines
220 B
JavaScript
Raw Normal View History

'use strict'
2019-08-25 14:05:24 +00:00
/* global hexo */
function metaGeneratorHelper () {
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
}
hexo.extend.helper.register('metaGenerator', metaGeneratorHelper)