diff --git a/docs/layouts/_default/single.html b/docs/layouts/_default/single.html index 1bd39f226..76ea3f734 100755 --- a/docs/layouts/_default/single.html +++ b/docs/layouts/_default/single.html @@ -24,7 +24,7 @@
-

{{ .Title }} {{ if .IsDraft }} (Draft){{ end }}

+

{{ .Title }} {{ if .Draft }} (Draft){{ end }}

{{ .Content }} diff --git a/docs/layouts/partials/head.html b/docs/layouts/partials/head.html index d39ab315f..dee409d69 100755 --- a/docs/layouts/partials/head.html +++ b/docs/layouts/partials/head.html @@ -10,7 +10,7 @@ {{ .Title }}{{ if not .IsHome }} - {{ .Site.Title }}{{ end }} - {{ .Hugo.Generator }} + {{ hugo.Generator }} {{ with .Site.Params.description }} @@ -73,7 +73,7 @@ - {{ with .RSSLink }} + {{ with .OutputFormats.Get "RSS" }} {{ end }}