chore(helpers): rename `export_config` -> `exportConfig`
This commit is contained in:
parent
c4ede7c272
commit
c2492c29d5
|
@ -33,6 +33,6 @@
|
||||||
<%- __css('fontawesome/css/regular.min.css') %>
|
<%- __css('fontawesome/css/regular.min.css') %>
|
||||||
<%- __css('fontawesome/css/solid.min.css') %>
|
<%- __css('fontawesome/css/solid.min.css') %>
|
||||||
<%- __css('fontawesome/css/brands.min.css') %>
|
<%- __css('fontawesome/css/brands.min.css') %>
|
||||||
<%- export_config() %>
|
<%- exportConfig() %>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ const yaml = require('js-yaml')
|
||||||
/**
|
/**
|
||||||
* Export theme config to js
|
* Export theme config to js
|
||||||
*/
|
*/
|
||||||
hexo.extend.helper.register('export_config', function () {
|
hexo.extend.helper.register('exportConfig', function () {
|
||||||
const { config, theme } = this
|
const { config, theme } = this
|
||||||
|
|
||||||
// ------------------------ export language to js ------------------------
|
// ------------------------ export language to js ------------------------
|
||||||
|
|
Loading…
Reference in New Issue