aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Dessaux2021-03-12 12:34:15 +0100
committerJulien Dessaux2021-03-12 12:34:15 +0100
commit7bf87e781fd3dbefc5e919a40fca89f0bc0a0dd4 (patch)
tree5627735d67b60237e4ab33317c558d871be154a3
parentAdded RSS feed link in nav menu, prevented docs section from showing up in th... (diff)
downloadwww-7bf87e781fd3dbefc5e919a40fca89f0bc0a0dd4.tar.gz
www-7bf87e781fd3dbefc5e919a40fca89f0bc0a0dd4.tar.bz2
www-7bf87e781fd3dbefc5e919a40fca89f0bc0a0dd4.zip
Limit the number of articles in the rss feed and output the full article
contents
-rw-r--r--config.toml1
-rw-r--r--layouts/_default/rss.xml2
2 files changed, 2 insertions, 1 deletions
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 @@
<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>
{{end}}
<guid>{{ .Permalink }}</guid>
- <description>{{ .Summary | html }}</description>
+ <description>{{ .Content | html }}</description>
</item>
{{ end }}
{{ end }}