Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make RSS feed path configurable #997

Closed
hossainemruz opened this issue Oct 13, 2024 · 0 comments · Fixed by #1034
Closed

Make RSS feed path configurable #997

hossainemruz opened this issue Oct 13, 2024 · 0 comments · Fixed by #1034
Labels

Comments

@hossainemruz
Copy link
Member

hossainemruz commented Oct 13, 2024

Describe the solution you'd like

Currently, the RSS feed is served at /index.xml. Some user expect it to be at /rss.xml or /feed.xml.

Describe alternatives you've considered

Additional context

Ref: #991

@hossainemruz hossainemruz mentioned this issue Oct 13, 2024
6 tasks
hossainemruz added a commit that referenced this issue Feb 6, 2025
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant