mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-22 17:15:07 +01:00
fix json schema parsing error on pages not having a section
This commit is contained in:
parent
cc99dba7bd
commit
e53bfe514a
@ -45,7 +45,7 @@
|
||||
|
||||
{{- end }}
|
||||
{{- /* self-page addition */ -}}
|
||||
{{- if $bc_list }}, {{end }}
|
||||
{{- if (ge (len $bc_list) 2) }}, {{end }}
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": {{len $bc_list}},
|
||||
|
Loading…
Reference in New Issue
Block a user