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

Fix RSS Feed #3

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix RSS Feed #3

wants to merge 1 commit into from

Conversation

V4ldum
Copy link

@V4ldum V4ldum commented Nov 30, 2024

The RSS feed is currently broken: it shows all pages from the website, not just blog posts, and the URL for posts is wrong.

Currently, a post's URL looks like this:

https://getflocked.dev/blog///blog/posts/talking-flock-with-viktor-lidholt/

To fix the RSS feed containing all pages, I excluded them by default and included only blog posts using the data.yaml. I also fixed the URL of the posts by removing the path from the website's URL in the RSS configuration.

Now, the URL looks like this:

https://getflocked.dev//blog/posts/talking-flock-with-viktor-lidholt/

I did not find a way to remove the double slash, but I don't think it will be an issue for most browsers. If you know how to remove it please point me in the correct direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant