mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-01-11 14:03:19 -05:00
fix: comma inclusion in breadcrumb schema
This commit is contained in:
parent
3e53621007
commit
c448dc8935
@ -49,10 +49,10 @@
|
||||
|
||||
{{- end }}
|
||||
{{- /* self-page addition */ -}}
|
||||
{{- if (ge (len $bc_list) 2) }}, {{end }}
|
||||
{{- if $bc_list }}, {{end}}
|
||||
{
|
||||
"@type": "ListItem",
|
||||
"position": {{len $bc_list}},
|
||||
"position": {{ add (len $bc_list) 1 }},
|
||||
"name": {{ .Name }},
|
||||
"item": {{ .Permalink | safeHTML }}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user