diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 8e944c3..0ef3183 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -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() %> diff --git a/scripts/helpers/export-config.js b/scripts/helpers/export-config.js index 62a96b7..cc483e4 100644 --- a/scripts/helpers/export-config.js +++ b/scripts/helpers/export-config.js @@ -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 ------------------------