feat: 添加结构化数据支持

This commit is contained in:
DeepChirp
2024-11-07 17:55:33 +08:00
parent 91c8c5cd4b
commit 3ea138178d
4 changed files with 72 additions and 0 deletions

View File

@@ -567,6 +567,10 @@ hexo.extend.filter.register('before_generate', () => {
enable: true,
option: null
},
structured_data: {
enable: true,
format: 'json-ld',
},
css_prefix: true,
inject: {
head: null,