blog/scripts/meta_generator.js

8 lines
203 B
JavaScript

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