mfashby.net

Website mfashby.net
git clone git://code.mfashby.net:/mfashby.net
Log | Files | Refs | Submodules | README

2024-03-27-zine.smd (1491B)


      1 ---
      2 .title = "Zine",
      3 .author = "Martin Ashby",
      4 .description = "I converted my blog from [hugo](https://gohugo.io/) to [zine](https://zine-ssg.io/).",
      5 .date = @date("2024-03-27T20:26:45+00:00"),
      6 .layout = "single.shtml",
      7 .custom = {"comments": true},
      8 ---
      9 
     10 I converted my blog from [hugo](https://gohugo.io/) to [zine](https://zine-ssg.io/). Hugo has been pretty good, but it had a couple of small annoyances like simple inclusion of raw HTML being difficult. Mostly though, I wanted to try something new, and my personal site is a safe space for me to do that :)
     11 
     12 Zine is very new, in fact the disclaimer on the site "Zine is alpha software. Using Zine today means participating in its development." turned out to be true, and I had to submit a couple of changes to Zine to make it work for me. Thankfully the maintainer was really helpful, and they also pointed out how I could generate an RSS XML feed for my blog just like hugo did.
     13 
     14 Code for my website can be found [here](https://code.mfashby.net/mfashby.net/). Since I have a quite a few posts, I wrote a [little program](https://code.mfashby.net/mfashby.net/tree/converter/src/main.zig) to convert the frontmatter for all my pages from hugo's YAML format to zine's ziggy format; although the output still needed some manual tweaks afterwards.
     15 
     16 Tangentially related, I moved the couple of videos I was hosting directly from my site to [move IT Tube](https://tube.spdns.org/) to save bandwidth at home and so others can view them faster.