mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-11-22 02:21:37 +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 }}
|
{{- end }}
|
||||||
{{- /* self-page addition */ -}}
|
{{- /* self-page addition */ -}}
|
||||||
{{- if $bc_list }}, {{end }}
|
{{- if (ge (len $bc_list) 2) }}, {{end }}
|
||||||
{
|
{
|
||||||
"@type": "ListItem",
|
"@type": "ListItem",
|
||||||
"position": {{len $bc_list}},
|
"position": {{len $bc_list}},
|
||||||
|
Loading…
Reference in New Issue
Block a user