From 6a68d2e06932d848571948eea9ec586027a42fd6 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Wed, 27 Mar 2024 20:49:30 +0000 Subject: Add post on zine Remove video assets from git, they are now hosted on move IT Tube Add client-side redirect to help when using zine serve. --- content/index.md | 6 ++++++ content/posts/2024-03-27-zine.md | 15 +++++++++++++++ content/posts/assets/10-11-21-longboard-slides.mp4 | Bin 45783829 -> 0 bytes content/posts/assets/drop-in.mp4 | Bin 1573234 -> 0 bytes content/posts/assets/skate4.mp4 | Bin 22065301 -> 0 bytes layouts/redirect.html | 14 ++++++++++++++ 6 files changed, 35 insertions(+) create mode 100644 content/index.md create mode 100644 content/posts/2024-03-27-zine.md delete mode 100644 content/posts/assets/10-11-21-longboard-slides.mp4 delete mode 100644 content/posts/assets/drop-in.mp4 delete mode 100644 content/posts/assets/skate4.mp4 create mode 100644 layouts/redirect.html diff --git a/content/index.md b/content/index.md new file mode 100644 index 0000000..2daad45 --- /dev/null +++ b/content/index.md @@ -0,0 +1,6 @@ +--- +.title = "Home", +.author = "Martin Ashby", +.date = @date("2024-03-27T20:26:45+00:00"), +.layout = "redirect.html", +--- \ No newline at end of file diff --git a/content/posts/2024-03-27-zine.md b/content/posts/2024-03-27-zine.md new file mode 100644 index 0000000..9dd23ad --- /dev/null +++ b/content/posts/2024-03-27-zine.md @@ -0,0 +1,15 @@ +--- +.title = "Zine", +.author = "Martin Ashby", +.date = @date("2024-03-27T20:26:45+00:00"), +.layout = "single.html", +.custom = {"comments": true}, +--- + +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 :) + +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. + +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. + +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. \ No newline at end of file diff --git a/content/posts/assets/10-11-21-longboard-slides.mp4 b/content/posts/assets/10-11-21-longboard-slides.mp4 deleted file mode 100644 index 50152b8..0000000 Binary files a/content/posts/assets/10-11-21-longboard-slides.mp4 and /dev/null differ diff --git a/content/posts/assets/drop-in.mp4 b/content/posts/assets/drop-in.mp4 deleted file mode 100644 index 7b07ab5..0000000 Binary files a/content/posts/assets/drop-in.mp4 and /dev/null differ diff --git a/content/posts/assets/skate4.mp4 b/content/posts/assets/skate4.mp4 deleted file mode 100644 index f557355..0000000 Binary files a/content/posts/assets/skate4.mp4 and /dev/null differ diff --git a/layouts/redirect.html b/layouts/redirect.html new file mode 100644 index 0000000..9cfd747 --- /dev/null +++ b/layouts/redirect.html @@ -0,0 +1,14 @@ + + + + + + + Page Redirection + + + If you are not redirected automatically, follow this link. + + -- cgit v1.2.3-ZIG