blog/scripts/metaGenerator.js

9 lines
220 B
JavaScript
Raw Normal View History

'use strict'
/* global hexo */
function metaGeneratorHelper () {
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
}
hexo.extend.helper.register('metaGenerator', metaGeneratorHelper)