Merge branch 'dev-3.x'
This commit is contained in:
commit
78c1b38683
|
@ -3,7 +3,7 @@
|
|||
# ---------------------------------------------------------------------------------------
|
||||
base_info:
|
||||
title: Keep Theme
|
||||
author: Keep team
|
||||
author: Keep Team
|
||||
url: https://keep.xpoet.cn/
|
||||
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue