Skip to content

Commit

Permalink
2023-10-30 06:52:04
Browse files Browse the repository at this point in the history
  • Loading branch information
uidHUB committed Oct 30, 2023
1 parent 0912ab4 commit fd263e1
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions layouts/partials/seo/schema/type/breadcrumbList.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@
{{ ($data.Add "itemListElement" (dict
"@type" "ListItem"
"position" ($position)
"item" (dict
"@id" (.Permalink)
"name" (.Title)
"item" (.Permalink)
)
)) }}
{{ end }}

{{ ($data.Add "itemListElement" (dict
"@type" "ListItem"
"position" (add ($position) 1)
"item" (dict
"@id" (.Permalink)
"name" (.Title)
"item" (.Permalink)
)
)) }}

{{ $breadcrumb := (dict
Expand Down

0 comments on commit fd263e1

Please sign in to comment.