pull down to refresh

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
100 sats \ 25 replies \ @ek 4 Jan
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
5000 sats \ 0 replies \ @ek 4 Jan
I can create a comment as @anon and you can click pay bounty there
reply
21 sats \ 1 reply \ @nym 4 Jan
Glad you got it working.
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
0 sats \ 19 replies \ @ek 4 Jan
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
0 sats \ 17 replies \ @ek 4 Jan
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
0 sats \ 8 replies \ @ek 4 Jan
No, for that one the permalink needs to be /general/21-bitcoin-orange-pills-de.html
Try it without a permalink so the default will be used in the RSS feed and you will see what I mean.
reply
Yes, I've created on symlink. So it should appear into rss feed right?
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
100 sats \ 4 replies \ @ek 4 Jan
I was too lazy to do it for all posts. I sent you a PR that should explain to you what you need to do for each of them.
Let me know if that works for you, this can probably also be scripted.
reply
don't worry I can prepare myself the symlinks in _posts. Let me add that and see how it goes. Thanks.
0 sats \ 0 replies \ @ek 4 Jan
ok
reply