chore(helpers): rename `export_config` -> `exportConfig`

This commit is contained in:
XPoet 2022-11-17 22:56:08 +08:00
parent c4ede7c272
commit c2492c29d5
2 changed files with 2 additions and 2 deletions

View File

@ -33,6 +33,6 @@
<%- __css('fontawesome/css/regular.min.css') %>
<%- __css('fontawesome/css/solid.min.css') %>
<%- __css('fontawesome/css/brands.min.css') %>
<%- export_config() %>
<%- exportConfig() %>
</head>

View File

@ -10,7 +10,7 @@ const yaml = require('js-yaml')
/**
* Export theme config to js
*/
hexo.extend.helper.register('export_config', function () {
hexo.extend.helper.register('exportConfig', function () {
const { config, theme } = this
// ------------------------ export language to js ------------------------