{{ if or .Params.author .Site.Author.name }} {{/* author */}} {{ end }} {{ $title := .Site.Title }} {{ if .IsHome }} {{ if .Params.Title }} {{ $title = printf "%s" .Params.Title }} {{ end }} {{ $title }} {{ else }} {{ with .Params.Title }} {{ $title = printf "%s 🌟 %s" . $title }} {{ end }} {{ $title }} {{ end }} {{ if or .Keywords .Site.Params.keywords }} {{/* keywords */}} {{ $keywords := slice }} {{ with .Params.keywords }} {{ $keywords = . }} {{ else }} {{ with .Site.Params.keywords }} {{ $keywords = . }} {{ end }} {{ end }} {{ end }} {{ if or .Description .Site.Params.description }} {{/* description*/}} {{ end }} {{ with $.Site.Params.Twitter.site }} {{ end }} {{ with $.Site.Params.Twitter.creator }} {{ end }} {{ if .IsHome }} {{ else }} {{ end }} {{ if isset .Params "cover" }} {{ if eq "index.md" $.Page.File.LogicalName }} {{ else }} {{ end }} {{ else }} {{ with (index (.Resources.ByType "image") 0) }} {{ end }} {{ end }} {{- $iso8601 := "2006-01-02T15:04:05+08:00" -}} {{ with .PublishDate }}{{ end }} {{ with .Lastmod }}{{ end }} {{- with .Params.audio }}{{ end }} {{- with .Params.locale }}{{ end }} {{- with .Site.Params.title }}{{ end }} {{- with .Params.videos }}{{- range . }} {{ end }}{{ end }} {{ if .Params.articleSchemaImages }} {{ end }} {{ with .Params.diySchema -}} {{end -}} {{ $RatingSchema := .Params.ratingSchema }} {{with $RatingSchema}} {{ if eq .type "SoftwareApplication"}} {{ else }} {{- end -}} {{- end -}}