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

25 lines
625 B
HTML

{{ if .IsHome -}}
{{ partial "schemas/schema_Organization.html" . }}
{{ partial "schemas/schema_WebSite.html" . }}
{{ partial "schemas/schema_WebPage.html" . }}
{{- else if .IsPage -}}
{{ if .Params.is_event }}
{{ partial "schemas/schema_Event.html" . }}
{{ else if in .Params.content_types "person" }}
{{ partial "schemas/schema_Person.html" . }}
{{ else }}
{{ partial "schemas/schema_WebPage.html" . }}
{{ end }}
{{- else if .IsSection -}}
{{ if .Params.is_event }}
{{ partial "schemas/schema_Event.html" . }}
{{ end }}
{{ end }}
{{ partial "schemas/schema_BreadcrumbList.html" . }}