From ab951ced605e6f5cb0e424733745ff9078b787ef Mon Sep 17 00:00:00 2001 From: "Kevin C. Coram" Date: Sat, 7 Dec 2019 22:00:36 -0500 Subject: [PATCH] Add RSS links to home page and list template --- layouts/_default/list.html | 5 ++++- layouts/index.html | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 16da28b..2ac074f 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -3,7 +3,10 @@ {{ .Title }} – {{ .Site.Title }} {{ end }} {{ define "content-header" }} -

{{ .Title }}

+

+ {{ .Title }} + +

{{ end }} {{ define "content" }} {{ if .Content }} diff --git a/layouts/index.html b/layouts/index.html index 2334581..82905b8 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,10 @@
{{ if .Site.Params.homepageSectionTitle }} -

{{ .Site.Params.homepageSectionTitle }}

+

+ {{ .Site.Params.homepageSectionTitle }} + +

{{ end }} {{ range $index, $page := (.Paginate (where (where .Site.RegularPages "Type" "in" site.Params.mainSections) ".Params.hidden" "!=" "true" )).Pages }}