pull down to refresh
21 sats \ 35 replies \ @nym 4 Jan \ on: Add RSS feed for my guides page AGORA
deleted by author
he doesn't have _posts folder, that might be the reason
reply
So just add a _posts folder and the name of each page ?
I do not want to move all the pages I already created.
reply
reply
reply
Verify Content in _posts: Ensure you have a _posts directory with valid files (e.g., YYYY-MM-DD-title.md) and include front matter:
I do not see anywhere mentioned this in jekyll feed instructions: https://github.com/jekyll/jekyll-feed
Do I have to create it? What I have to put in there?
The layout files are already prepared with the same line.
What is missing is the content feed, with pages etc. See here: https://darth-coin.github.io/feed.xml
reply
That you need to have a
_posts
directory is mentioned here: https://jekyllrb.com/docs/structure/I've got something working locally, I'll send you a PR.
but I don't want your dirty sats lol
reply
So now to who I should give the bounty?
It was a nice and quick experiment.
reply
reply
reply
Is fun, still learning. I have some basic knowledge about html, css and stuff like that so this github thing is a playground for me now.
More things / ideas will come and maybe more bounties on SN.
reply
ok I merge it. Let's see how it goes. Thanks, so was about the gem file...
reply
That was not the PR to fix the RSS feed, that was just for me building your site and playing with it, lol
reply
OK I get that.
The permalinks can be customized for each post, but the date and markup language are determined solely by the file name.
So I should create a _posts folder and add each page in that format and inside of each md file the permalink to existing html page?
reply
So I should create a _posts folder and add each page in that format and inside of each md file the permalink to existing html page?
You can also use symlinks. I was able to put a post into your RSS feed like this:
$ mkdir _posts $ cd _posts $ ln -s ../beginner/5-stages-became-bitcoiner-de.html 2009-01-03-5-stages-became-bitcoiner-de.html
But I think the bigger problem is how to create an RSS feed for each language.
reply
Ok I create a symlink for testing in _posts
Now you said:
Since the default permalink is using /YYYY/MM/DD/title.html which is probably not what you want, you also need to set permalink in your front matter.
That means for each page I would have to add the permalink in the header of the file?
Like:
layout: default-de title: 21 ₿itcoin Orange Pillen für Neulinge permalink: /2025-01-03-21-bitcoin-orange-pills-de.html
reply
I will be happy with only EN for the moment. Each page have links to other languages anyways so reader con just click it.
reply