{{ with .Site.Params.author.name }}{{ end }} {{ with .Params.date }}{{ else }}{{end}} {{- with .Description }}{{ else }}{{- end }} {{- with .RelPermalink }}{{- end }} {{- with .OutputFormats.Get "RSS" -}}{{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}{{ end }} {{- if not .IsHome }}{{ partial "header" . }}{{ partialCached "search.html" . }}{{ end }} {{- if .IsHome }}{{- block "header" . }}{{ end }} {{- end }} {{- block "main" . }}{{ end }} {{ if not .IsHome }}{{ partial "footer" . }} {{ end }}