mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2025-05-13 14:44:28 -04:00
fix: comma inclusion in breadcrumb schema
This commit is contained in:
parent
3e53621007
commit
c448dc8935
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue