{{ hugo.Generator }} {{ if .IsHome }} {{ with .Site.Params.homeMetaContent }} {{ end }} {{ else }} {{ $summary := trim (.Summary | plainify | htmlUnescape) "\n\r" | default .Title }} {{ end }} {{ $templateStyles := resources.Get "css/template-styles.css" }} {{ $styles := $templateStyles | resources.ExecuteAsTemplate "css/styles.css" . }} {{ range .Site.Params.customCss }} {{ end }} {{ $title := print .Title " | " .Site.Title }} {{ if .IsHome }} {{ $title = .Site.Title }} {{ end }}