diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 237e869..84cb6e4 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -34,16 +34,17 @@ {{ end }} - {{ with .OutputFormats.Get "rss" -}} - {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{ end -}} + {{ with .Site.GetPage "/" }} + {{ with .OutputFormats.Get "rss" }} + {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} + {{ end }} + {{ end }} {{ $sass := resources.Get "/scss/style.scss" }} {{ $style := $sass | resources.ToCSS | minify | fingerprint }} {{ $secureStyle := $style | resources.Fingerprint "sha512" }} - {{ partial "header" . }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 62b6111..2df4246 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -12,8 +12,10 @@