diff --git a/_config.yml b/_config.yml index 4b948e1..9cfb3c5 100644 --- a/_config.yml +++ b/_config.yml @@ -3,7 +3,7 @@ # --------------------------------------------------------------------------------------- base_info: title: Keep Theme - author: Keep team + author: Keep Team url: https://keep.xpoet.cn/ diff --git a/scripts/helpers/export-config.js b/scripts/helpers/export-config.js index c014176..4858268 100644 --- a/scripts/helpers/export-config.js +++ b/scripts/helpers/export-config.js @@ -20,7 +20,7 @@ hexo.extend.helper.register('export_config', function () { file = languageDir + '/' + (file ? file : 'en.yml'); let languageContent = fs.readFileSync(file, 'utf8'); try { - languageContent = yaml.safeLoad(languageContent); + languageContent = yaml.load(languageContent); } catch (e) { console.log(e); }