From bfe7991fc89c12058a306fd52143cd0976b8acf0 Mon Sep 17 00:00:00 2001 From: chris062689 Date: Mon, 5 Jun 2017 17:50:44 -0400 Subject: [PATCH] Fixed RSS not generating for website. --- site/config.toml | 1 + site/themes/citra-bs-theme/layouts/rss.xml | 20 -------------------- 2 files changed, 1 insertion(+), 20 deletions(-) diff --git a/site/config.toml b/site/config.toml index 1136a23..5a80581 100644 --- a/site/config.toml +++ b/site/config.toml @@ -12,4 +12,5 @@ paginate = 10 weight = 1 [outputs] +home = [ "HTML", "RSS" ] section = [ "HTML", "JSON" ] diff --git a/site/themes/citra-bs-theme/layouts/rss.xml b/site/themes/citra-bs-theme/layouts/rss.xml index 2a8b1b7..d6536f9 100644 --- a/site/themes/citra-bs-theme/layouts/rss.xml +++ b/site/themes/citra-bs-theme/layouts/rss.xml @@ -16,25 +16,5 @@       {{ .Summary | html }}          {{ end }} - {{ range where .Data.Pages "Section" "wiki" }} -      -       {{ .Title }} -       {{ .Permalink }} -       {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }} -       {{ .Params.Author }} -       {{ .Permalink }} -       {{ .Summary | html }} -      -     {{ end }} - {{ range where .Data.Pages "Section" "game" }} -      -       {{ .Title }} -       {{ .Permalink }} -       {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 MST" }} -       {{ .Params.Author }} -       {{ .Permalink }} -       {{ .Summary | html }} -      -     {{ end }}