diff --git a/scripts/meta_generator.js b/scripts/metaGenerator.js similarity index 69% rename from scripts/meta_generator.js rename to scripts/metaGenerator.js index df2a0b5..39116d5 100644 --- a/scripts/meta_generator.js +++ b/scripts/metaGenerator.js @@ -5,4 +5,4 @@ function metaGeneratorHelper () { return ''.replace('%s', this.env.version) } -hexo.extend.helper.register('meta_generator', metaGeneratorHelper) +hexo.extend.helper.register('metaGenerator', metaGeneratorHelper) diff --git a/themes/typing/layout/_partial/head.ejs b/themes/typing/layout/_partial/head.ejs index 141ae1f..4be8654 100644 --- a/themes/typing/layout/_partial/head.ejs +++ b/themes/typing/layout/_partial/head.ejs @@ -1,6 +1,6 @@
- <%- meta_generator() %> + <%- metaGenerator() %> <% let title = page.title