File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22{{- $description := partial "utils/description.html" . -}}
33{{- $keywords := partialCached "utils/keywords.html" . . -}}
44{{- $breadcrumbs := slice -}}
5- {{- range .Ancestors.Reverse -}}
5+ {{- range after 1 .Ancestors.Reverse -}}
66 {{- $breadcrumbs = $breadcrumbs | append .LinkTitle -}}
77{{- end -}}
88{{- with $description }}< meta data-pagefind-meta ="description:{{ . }} "> {{ end }}
Original file line number Diff line number Diff line change 4646 < pagefind-results >
4747 < script type = "text/pagefind-template" >
4848 < li class = "py-3 border-b border-gray-200 dark:border-gray-700 last:border-b-0" >
49+ { { print "{{#if meta.breadcrumbs}}" } }
50+ < p class = "text-xs text-gray-500 dark:text-gray-400 mb-1" > { { print "{{ meta.breadcrumbs }}" } } </ p >
51+ { { print "{{/if}}" } }
4952 < p class = "font-medium" >
5053 < a class = "text-blue-600 dark:text-blue-400 hover:underline" href = "{{ print " { { meta. url | default ( url ) | safeUrl } } " } } ">
5154 { { print "{{ meta.title }}" } }
You can’t perform that action at this time.
0 commit comments