fix: linking to quote pages
This commit is contained in:
parent
65a9660127
commit
6b0b5fe728
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
{{- $itemType := default "CreativeWork" .schemaType -}}
|
{{- $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 .c -}}
|
||||||
{{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}}
|
{{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue