From 7bf87e781fd3dbefc5e919a40fca89f0bc0a0dd4 Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Fri, 12 Mar 2021 12:34:15 +0100
Subject: Limit the number of articles in the rss feed and output the full
article contents
---
config.toml | 1 +
layouts/_default/rss.xml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/config.toml b/config.toml
index c3e9b7a..88db67d 100644
--- a/config.toml
+++ b/config.toml
@@ -5,6 +5,7 @@ description = "The personal space of yet another sysadmin"
enableRobotsTXT = true
enableGitInfo = true
paginate = 32
+rssLimit = 32
# Highlighting config
pygmentsCodeFences = true
diff --git a/layouts/_default/rss.xml b/layouts/_default/rss.xml
index a69b0b2..36acade 100644
--- a/layouts/_default/rss.xml
+++ b/layouts/_default/rss.xml
@@ -33,7 +33,7 @@
{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}
{{end}}
{{ .Permalink }}
- {{ .Summary | html }}
+ {{ .Content | html }}
{{ end }}
{{ end }}
--
cgit v1.2.3