Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lxndrblz/anatole.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Park <me@ericswpark.com>2021-05-25 20:59:42 +0300
committerGitHub <noreply@github.com>2021-05-25 20:59:42 +0300
commit80312357ceee167aa9f224281363933a47e27994 (patch)
treee248357fee151cdb3f18df8c75bb7600491e4dee /README.md
parentb7c82a7ff11dee3988e346005eb3627ab0964ae7 (diff)
RSS improvements (#207)
* Show full article in RSS feed * README: add RSS information * README: add RSS disable tip Closes #203
Diffstat (limited to 'README.md')
-rw-r--r--README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/README.md b/README.md
index 2b6b4c5..28e7737 100644
--- a/README.md
+++ b/README.md
@@ -543,6 +543,29 @@ title = "e-mail"
url = "mailto:mail@example.com"
```
+### RSS
+
+Hugo natively supports RSS. To generate a feed for a given page, append `index.xml` to the page URL.
+
+Note that the RSS feed at the base of your website will include all of the pages on your website. To only include posts in your RSS feed, generate the feed within the `posts/` subdirectory with the URL `posts/index.xml`.
+
+To only generate an RSS feed for your posts, disable the RSS output for the other page types:
+
+```toml
+[outputs]
+ home = ["HTML"]
+ section = ["HTML", "RSS"]
+ taxonomy = ["HTML"]
+ term = ["HTML"]
+```
+
+By default, the RSS feed contains a brief summary of each page. If you prefer to show the entire contents for each page, then use the `rssFullContent` parameter:
+
+```toml
+[params]
+rssFullContent = true
+```
+
## License
Anatole is licensed under the [MIT license](https://github.com/lxndrblz/anatole/blob/master/LICENSE).