forked from neff/neff-steindesign.de
27 lines
1.4 KiB
Plaintext
Executable File
27 lines
1.4 KiB
Plaintext
Executable File
{{- $context := .ctx -}}
|
|
{
|
|
"@context": "http://schema.org",
|
|
"@type": "WebSite",
|
|
"@id": "{{ .ctx.Site.BaseURL }}",
|
|
"url": "{{ .ctx.Site.BaseURL }}",
|
|
"name": "{{ .ctx.Site.Title }}"
|
|
{{ if (ne .short true) }}
|
|
,"author": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}}
|
|
{{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }}
|
|
{{- end -}},
|
|
"copyrightHolder": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}}
|
|
{{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }}
|
|
{{- end -}},
|
|
"creator": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}}
|
|
{{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }}
|
|
{{- end -}},
|
|
"producer": {{- range (first 1 (where .ctx.Site.Data.kontakt.kontakt ".address.addressLocality" "Niederkassel")) -}}
|
|
{{ partial "schema/organization.jsonld" (dict "org" . "ctx" $context "short" true) }}
|
|
{{- end -}},
|
|
{{ with .ctx.Site.Params.description }}
|
|
"description": "{{ . }}",
|
|
{{ end }}
|
|
"datePublished": {{ .site.PublishDate.Format "2006-01-02T15:04-07:00" | jsonify }},
|
|
"dateModified": {{ .site.Lastmod.Format "2006-01-02T15:04-07:00" | jsonify }},
|
|
{{ end }}
|
|
} |