fix json schema parsing error on pages not having a section

This commit is contained in:
Aditya Telange 2021-02-16 18:37:30 +05:30
parent cc99dba7bd
commit e53bfe514a

View File

@ -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}},