{{ with .Description -}} {{ else -}} {{ with .Summary | plainify -}} {{ else -}} {{ end -}} {{ end -}} {{ if or (.Params.noindex) (eq .Kind "404") }} {{ end }} {{ if .IsTranslated -}} {{ range .Translations -}} {{ end -}} {{ end -}} {{ if .IsTranslated -}} {{ range .AllTranslations -}} {{ if eq .Language.Locale hugo.Sites.Default.Language.Locale -}} {{ end -}} {{ end -}} {{ else -}} {{ end }} {{ range .AlternativeOutputFormats -}} {{ end -}} {{ partial "head/opengraph.html" . }} {{ partial "head/facebook-admin.html" . }} {{ partial "head/twitter.html" . }} {{- /* An Article lives in a content section. Standalone top-level pages - contact, privacy policy, a thank-you page - are regular pages, and tagging them as Articles is structured data that does not describe them. Set `schemaArticle` in front matter to force it either way. */ -}} {{ $isArticle := ne .Section "" }} {{ if isset .Params "schemaarticle" }}{{ $isArticle = .Params.schemaarticle }}{{ end }} {{ if and .IsPage $isArticle }} {{- partial "head/schema-article.html" . -}} {{ end }} {{ if .IsHome }} {{ if .Site.Params.webSite }} {{- partial "head/schema-website.html" . -}} {{ end }} {{ if .Site.Params.organization }} {{- partial "head/schema-organization.html" . -}} {{ end }} {{ if .Site.Params.localBusiness }} {{- partial "head/schema-local-business.html" . -}} {{ end }} {{ if .Site.Params.event -}} {{- partial "head/schema-event.html" . -}} {{ end }} {{ end }} {{ if .Params.product -}} {{- partial "head/schema-product.html" . -}} {{ end }} {{ if .Params.softwareApplication -}} {{- partial "head/schema-software-application.html" . -}} {{ end }} {{ if .Params.faq -}} {{- partial "head/schema-faq.html" . -}} {{ end }}