mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
chore: 简化结构化数据配置,移除不必要的嵌套
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
if theme.structured_data.enable && page.layout === 'post'
|
||||
if theme.structured_data && page.layout === 'post'
|
||||
-
|
||||
// use json-ld to add structured data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user