Make RSS feed path configurable (#1034)

* Make RSS feed path configurable

Fixes #997

Add configuration option for RSS feed path

* Add `rssPath` configuration option in `exampleSite/hugo.yaml` under the `params` section to specify the desired RSS feed path.
* Set the default value of `rssPath` to `/rss.xml`.
* Update `layouts/_default/baseof.html` to include the RSS feed link with the configured `rssPath` value.
* Use the default path `/index.xml` if `rssPath` is not specified.

* Add outputFormats to hugo.yaml

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>

* Add reference to doc

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>

---------

Signed-off-by: Emruz Hossain <hossainemruz@gmail.com>
This commit is contained in:
Emruz Hossain 2025-02-07 03:01:08 +06:00 committed by GitHub
parent ba6bb5d369
commit aa91957832
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 86 additions and 67 deletions

View file

@ -50,7 +50,7 @@
"imagesloaded": "^5.0.0",
"include-media": "^1.4.10",
"ityped": "^1.0.3",
"katex": "^0.16.21",
"katex": "^0.16.11",
"mark.js": "^8.11.1",
"mermaid": "^11.4.1",
"plyr": "^3.7.2",