mirror of https://gitlab.com/curben/blog
style(meta_generator): camel case to metaGenerator()
This commit is contained in:
parent
56d77c0ac5
commit
78942640d2
|
@ -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)
|
|
@ -1,6 +1,6 @@
|
|||
<head>
|
||||
<meta charset="utf-8">
|
||||
<%- meta_generator() %>
|
||||
<%- metaGenerator() %>
|
||||
<%
|
||||
let title = page.title
|
||||
|
||||
|
|
Loading…
Reference in New Issue