This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/partials/schemas/include-relevant-schemas.html

29 lines
739 B
HTML
Raw Permalink Normal View History

{{ if .IsHome -}}
{{ partial "schemas/schema_Organization.html" . }}
{{ partial "schemas/schema_WebSite.html" . }}
{{ partial "schemas/schema_WebPage.html" . }}
{{- 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" }}
{{ partial "schemas/schema_Person.html" . }}
{{ else }}
{{ if gt .WordCount 100 }}
{{ partial "schemas/schema_Article.html" . }}
{{ else }}
{{ partial "schemas/schema_WebPage.html" . }}
{{ end }}
{{ end }}
2023-06-22 15:07:42 +02:00
{{- else if .IsSection -}}
{{ if .Params.is_event }}
{{ partial "schemas/schema_Event.html" . }}
{{ end }}
{{ end }}
{{ partial "schemas/schema_BreadcrumbList.html" . }}