We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fdfa45 commit 9e46ac8Copy full SHA for 9e46ac8
themes/tfsci/layouts/partials/head/jsonld.html
@@ -8,10 +8,13 @@
8
{{- define "partials/breadcrumb-items.html" -}}
9
{{- $items := slice -}}
10
{{- range $index, $page := partial "parents" . -}}
11
+ {{- if eq $index 0 -}}
12
+ {{- continue -}}
13
+ {{- end -}}
14
{{-
15
$item := dict
16
"@type" "ListItem"
- "position" (add $index 1)
17
+ "position" $index
18
"name" $page.Title
19
"item" $page.Permalink
20
-}}
0 commit comments