From 0ce04d50c74e58b6056a99b8f7cf0653dcf33fc8 Mon Sep 17 00:00:00 2001 From: leafee98 Date: Wed, 18 May 2022 21:29:55 +0800 Subject: [PATCH] RSS of each section are always shown the "Feed Of ALL" is removed and "Feed Of 'Section'" is always shown --- exampleSite/config.toml | 3 +++ layouts/partials/footer.html | 30 ++++++++++++------------------ 2 files changed, 15 insertions(+), 18 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index b9dfa0b..dcfe6c3 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -21,6 +21,9 @@ noHl = false style = 'monokailight' tabWidth = 4 +[params] +mainSections = ['posts'] + ## uncomment belows and set proper values to enable remark42 # [params.remark42] # host='' diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 91bd035..b863751 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,23 +1,6 @@