fix: linking to quote pages

This commit is contained in:
Ben Goldsworthy 2025-04-20 17:08:09 +02:00
parent 65a9660127
commit 6b0b5fe728
No known key found for this signature in database

View file

@ -1,6 +1,6 @@
{{- $itemType := default "CreativeWork" .schemaType -}}
{{- $pages := where ( where .g.Site.Pages "Section" .section ) "title" .title | first 1 -}}
{{- $pages := where ( where .g.Site.Pages "Section" .section ) "Title" .title | first 1 -}}
{{- with .c -}}
{{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}}