2025-01-04 21:19:12 +01:00
|
|
|
{{- $itemType := default "CreativeWork" .schemaType -}}
|
|
|
|
|
|
|
|
{{- $pages := where ( where .g.Site.Pages "Section" .section ) "title" .title | first 1 -}}
|
|
|
|
|
|
|
|
{{- with .c -}}
|
|
|
|
{{- with $pages -}}{{- range . -}}<a href="{{ .RelPermalink }}">{{- end -}}{{- end -}}
|
|
|
|
<cite
|
|
|
|
class="cite{{ with .citeStyle }} cite--{{ . }}{{ end }}"
|
|
|
|
itemscope
|
|
|
|
itemprop="citation"
|
|
|
|
itemtype="https://schema.org/{{- $itemType -}}"
|
2025-02-21 18:44:27 +01:00
|
|
|
{{- if .titleTrans -}}
|
2025-01-04 21:19:12 +01:00
|
|
|
lang="{{- $.titleLang -}}"
|
|
|
|
title="{{- $.titleTrans -}}"
|
|
|
|
{{- end -}}>
|
2025-02-21 18:44:27 +01:00
|
|
|
{{- .title -}}
|
2025-01-04 21:19:12 +01:00
|
|
|
</cite>
|
|
|
|
{{- with $pages -}}</a>{{- end -}}
|
|
|
|
|
|
|
|
{{- with $.edition }}<p class="edition">{{ . }}</p>{{- end -}}
|
|
|
|
{{- end -}}
|