2023-05-18 20:33:08 +02:00
|
|
|
{{ if .IsHome -}}
|
|
|
|
|
|
|
|
{{ partial "schemas/schema_Organization.html" . }}
|
|
|
|
{{ partial "schemas/schema_WebSite.html" . }}
|
2023-06-21 15:34:33 +02:00
|
|
|
{{ partial "schemas/schema_WebPage.html" . }}
|
2023-05-18 20:33:08 +02:00
|
|
|
|
|
|
|
{{- else if .IsPage -}}
|
|
|
|
|
2023-06-22 11:18:31 +02:00
|
|
|
{{ if .Params.is_event }}
|
|
|
|
{{ partial "schemas/schema_Event.html" . }}
|
|
|
|
{{ else if in .Params.content_types "person" }}
|
2023-05-18 20:33:08 +02:00
|
|
|
{{ partial "schemas/schema_Person.html" . }}
|
2023-06-21 15:34:33 +02:00
|
|
|
{{ else }}
|
2023-06-23 16:26:55 +02:00
|
|
|
{{ if gt .WordCount 100 }}
|
|
|
|
{{ partial "schemas/schema_Article.html" . }}
|
|
|
|
{{ else }}
|
|
|
|
{{ partial "schemas/schema_WebPage.html" . }}
|
|
|
|
{{ end }}
|
2023-05-18 20:33:08 +02:00
|
|
|
{{ end }}
|
|
|
|
|
2023-06-22 15:07:42 +02:00
|
|
|
{{- else if .IsSection -}}
|
|
|
|
{{ if .Params.is_event }}
|
|
|
|
{{ partial "schemas/schema_Event.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
|
2023-05-18 20:33:08 +02:00
|
|
|
{{ end }}
|
2023-06-21 15:34:33 +02:00
|
|
|
|
|
|
|
{{ partial "schemas/schema_BreadcrumbList.html" . }}
|