{{- $itemType := default "CreativeWork" ( .Params.schemaType ) -}} {{- if ( or ( in $.Site.Data.itemtypes $itemType ) ( eq .Params.suppress "true" ) ) -}} {{- with .Params.href -}} {{- end -}} {{- with .Params.cite -}} {{- end -}} {{- if .Params.titleLang -}} {{- end -}} {{- if .Params.shortTitle -}} {{- .Params.shortTitle | markdownify | safeHTML -}} {{- else -}} {{- .Params.title | markdownify | safeHTML -}} {{- end -}} {{- if .Params.titleLang -}} {{- end -}} {{- /**/ -}} {{- with .Params.href -}} {{- end -}} {{- else -}} {{- erroridf "invalid-schema-type" "Invalid Schema.org type value %q for %q" $itemType .Params.title -}} {{- end -}}