25 lines
1.1 KiB
Markdown
25 lines
1.1 KiB
Markdown
|
# hello world (from barf.sh)
|
||
|
|
||
|
2023-05-14
|
||
|
|
||
|
Another year, another static site generator.
|
||
|
|
||
|
This time, for the [5th iteration](https://git.dogeystamp.com/dogeystamp/wb5) of the website,
|
||
|
I'm using [barf](https://barf.bt.ht) to generate it.
|
||
|
|
||
|
Personally, I think the old script I was using, [ssg](https://romanzolotarev.com/ssg.html),
|
||
|
was really hacky in comparison to barf.
|
||
|
One of my biggest grudges is how there was no post list on the front page by default.
|
||
|
Most of the people using ssg (including me) had to write their own messy `sed` contraptions to implement it.
|
||
|
|
||
|
Thankfully, barf implements not only the post list, but also Atom feed generation, which is very convenient.
|
||
|
|
||
|
Other than that, barf excels by being tiny.
|
||
|
Unlike ssg, the barf script fits in 3 screenfuls of text for me.
|
||
|
In my opinion, it's much more readable.
|
||
|
|
||
|
The great thing about these two scripts is that migrating my website from one to the other is really simple.
|
||
|
They both work similarly, so I just needed minor changes to port over my (admittedly few) pages.
|
||
|
|
||
|
Anyways, I'll hopefully write some blog posts soon and fix the remaining dead links on the website.
|