From 941a4172f1af02bb67695d97173a9e3c841b4d4e Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Sun, 14 May 2023 13:56:15 -0400 Subject: [PATCH] posts: added hello_world.md --- posts/hello_world.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 posts/hello_world.md diff --git a/posts/hello_world.md b/posts/hello_world.md new file mode 100644 index 0000000..10b508c --- /dev/null +++ b/posts/hello_world.md @@ -0,0 +1,24 @@ +# 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.