{{- $title := print .Title -}} {{- if .IsHome }}{{ $title = .Site.Title }}{{ end -}} {{- $description := print .Params.Description -}} {{- if or .IsHome (eq .Params.Description "") (not .Params.Description) -}} {{ $description = .Site.Params.Description }} {{- end -}} {{- $author := print .Site.Author.name -}} {{- if .Params.author -}}{{ $author = .Params.author }}{{- end -}} {{ $title }} {{ hugo.Generator }} {{- if .Params.editor }}{{ end }} {{- if .Params.date }}{{ end }} {{- if .Params.rights }}{{ end }} {{- /* TODO: add fb:admins and fb:app_id */ -}} {{- /* TODO: add ability to render 'article' type */ -}} {{- $sass := resources.Get "sass/style.scss" }} {{- $style := $sass | resources.ToCSS | resources.Minify | resources.Fingerprint }} {{- with .OutputFormats.Get "rss" }} {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }} {{- end }}