diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index bf8b528..68d320b 100755 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{/* NOTE: the Site's title, and if there is a page title, that is set too */}} {{ block "title" . }}{{ .Site.Title }} {{ with .Params.Title }} | {{ . }}{{ end }}{{ end }} - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{/* NOTE: For Production make sure you add `HUGO_ENV="production"` before your build command */}} {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }} @@ -27,9 +27,9 @@ {{ partialCached "site-favicon.html" . }} {{ end }} - {{ if .RSSLink }} - - + {{ if .OutputFormats.Get "RSS" }} + + {{ end }} {{/* NOTE: These Hugo Internal Templates can be found starting at https://github.com/spf13/hugo/blob/master/tpl/tplimpl/template_embedded.go#L158 */}}