diff --git a/themes/briar/layouts/_default/section.html b/themes/briar/layouts/_default/section.html index d0638f5c8b57aa58e5aa2a8cef1b7ed18826a157..d7703a8f3dc2d29030fb643d77906b52f3975d90 100644 --- a/themes/briar/layouts/_default/section.html +++ b/themes/briar/layouts/_default/section.html @@ -1,5 +1,5 @@ {{ define "main" }} - <h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }} <a href="/news/index.xml"> <img src="/img/rss-icon.png" class="rss-icon"/></a></h1> + <h1>{{ with .Title }} {{ . }} {{ else }} {{ .Site.Title }} {{ end }} {{ if (eq .Type "news") }} <a href="/news/index.xml"> <img src="/img/rss-icon.png" class="rss-icon"/></a> {{ end }} </h1> {{ .Content }} {{ range .Pages.ByDate.Reverse }} {{ if not .Params.hide }}