style(meta_generator): camel case to metaGenerator()

This commit is contained in:
curben 2019-08-26 00:25:04 +09:30
parent 56d77c0ac5
commit 78942640d2
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ function metaGeneratorHelper () {
return '<meta name="generator" content="Hexo %s">'.replace('%s', this.env.version)
}
hexo.extend.helper.register('meta_generator', metaGeneratorHelper)
hexo.extend.helper.register('metaGenerator', metaGeneratorHelper)

View File

@ -1,6 +1,6 @@
<head>
<meta charset="utf-8">
<%- meta_generator() %>
<%- metaGenerator() %>
<%
let title = page.title