mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +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