pull down to refresh

ok I merge it. Let's see how it goes. Thanks, so was about the gem file...

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

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.

reply
0 sats \ 2 replies \ @ek 4 Jan

btw your language section is inconsistent across pages.

I think you should just show all languages on every page and in the same order.

reply

Depends on what language is the page, the links to others are skipping the actual one.
For example a ES page will not have the link to the ES page, is skipped. It doesn't make sense to put the link to the same page.

0 sats \ 0 replies \ @ek 4 Jan

ok

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?

reply
0 sats \ 6 replies \ @ek 4 Jan

Anything you put into _posts and follows YYYY-MM-DD-title.html format should show up in the RSS feed, yes.

reply