{{ $homepageImage := "" }}
{{ with .Site.Params.defaultBackgroundImage }}{{ $homepageImage = resources.Get . }}{{ end }}
{{ with .Site.Params.homepage.homepageImage }}{{ $homepageImage = resources.Get . }}{{ end }}
{{ $homepageImage := $homepageImage.Resize "x1000" }}
{{ if not (eq $homepageImage "") }}
{{ end }}
{{ with .Site.Author.image }}
{{ $authorImage := resources.Get . }}
{{ if $authorImage }}
{{ $authorImage := $authorImage.Fill "320x320" }}
{{ end }}
{{ end }}
{{ .Content | emojify }}
{{ .Site.Author.name | default .Site.Title }}
{{ with .Site.Author.headline }}{{ . | markdownify | emojify }}
{{ end }}
{{ with .Site.Author.links }}
{{ range $links := . }}
{{ range $name, $url := $links }}
{{ partial
"icon.html" $name }}
{{ end }}
{{ end }}
{{ end }}