aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
committerMartin Ashby <martin@ashbysoft.com>2024-08-10 20:19:17 +0100
commite05f4b47ecd0cb0dac273afc420b51768bedcc5e (patch)
tree5d6dac85388af71e30a032670f3b9622e6535604
parent8a0464bcf2582084bd765f67de6f283545af2c7d (diff)
downloadmfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.gz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.bz2
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.tar.xz
mfashby.net-e05f4b47ecd0cb0dac273afc420b51768bedcc5e.zip
Migrate to zine 0.3.0
-rw-r--r--assets/static/css/fonts.css (renamed from static/css/fonts.css)0
-rw-r--r--assets/static/css/style.css (renamed from static/css/style.css)0
-rw-r--r--build.zig8
-rw-r--r--build.zig.zon6
-rw-r--r--comments/build.zig.zon4
-rw-r--r--content/about/cv.md2
-rw-r--r--content/about/index.md2
-rw-r--r--content/index.md2
-rw-r--r--content/posts/2018-05-31-new-site.md2
-rw-r--r--content/posts/2018-06-01-mailu.md4
-rw-r--r--content/posts/2018-06-01-mailu/mailu_screenshot.png (renamed from content/posts/assets/mailu_screenshot.png)bin146724 -> 146724 bytes
-rw-r--r--content/posts/2018-06-02-unicornpaint.md4
-rw-r--r--content/posts/2018-06-02-unicornpaint/unicorn.gif (renamed from content/posts/assets/unicorn.gif)bin1564408 -> 1564408 bytes
-rw-r--r--content/posts/2021-09-17-restart.md2
-rw-r--r--content/posts/2021-09-18-maddy.md2
-rw-r--r--content/posts/2021-09-19-longboard-setup.md4
-rw-r--r--content/posts/2021-09-19-longboard-setup/longboard.jpg (renamed from content/posts/assets/longboard.jpg)bin2711396 -> 2711396 bytes
-rw-r--r--content/posts/2021-09-21-manjaro.md2
-rw-r--r--content/posts/2021-09-26-pine64.md2
-rw-r--r--content/posts/2021-09-29-bike.md4
-rw-r--r--content/posts/2021-09-29-bike/bike.jpg (renamed from content/posts/assets/bike.jpg)bin464079 -> 464079 bytes
-rw-r--r--content/posts/2021-09-29-recipe.md2
-rw-r--r--content/posts/2021-10-01-blog.md2
-rw-r--r--content/posts/2021-10-06-clojure.md2
-rw-r--r--content/posts/2021-10-30-openbsd.md2
-rw-r--r--content/posts/2021-11-05-postgres-query-rewrite.md2
-rw-r--r--content/posts/2021-11-09-longboard-2.md2
-rw-r--r--content/posts/2021-11-14-backups.md2
-rw-r--r--content/posts/2021-12-04-contacts.md2
-rw-r--r--content/posts/2021-12-28-chat-server-protocol.md2
-rw-r--r--content/posts/2022-02-11-philosophy-software-dev.md2
-rw-r--r--content/posts/2022-02-23-wordle.md2
-rw-r--r--content/posts/2022-03-19-wildcard.md2
-rw-r--r--content/posts/2022-03-27-fossil.md2
-rw-r--r--content/posts/2022-04-30-longboard-3.md6
-rw-r--r--content/posts/2022-04-30-longboard-3/apex_1.jpg (renamed from content/posts/assets/apex_1.jpg)bin2177140 -> 2177140 bytes
-rw-r--r--content/posts/2022-04-30-longboard-3/apex_2.jpg (renamed from content/posts/assets/apex_2.jpg)bin2513595 -> 2513595 bytes
-rw-r--r--content/posts/2022-05-07-stolen-focus.md2
-rw-r--r--content/posts/2022-06-09-rustlings.md2
-rw-r--r--content/posts/2022-07-09-longboard-4.md2
-rw-r--r--content/posts/2022-07-30-fossil2.md2
-rw-r--r--content/posts/2022-09-09-serverless.md2
-rw-r--r--content/posts/2022-09-25-back-to-git.md2
-rw-r--r--content/posts/2022-10-07-blocky.md2
-rw-r--r--content/posts/2022-10-09-quine.md2
-rw-r--r--content/posts/2022-10-09-skateboard-1.md4
-rw-r--r--content/posts/2022-10-09-skateboard-1/skateboard.jpg (renamed from content/posts/assets/skateboard.jpg)bin2989138 -> 2989138 bytes
-rw-r--r--content/posts/2022-10-14-blogsite.md2
-rw-r--r--content/posts/2022-10-14-caddy.md2
-rw-r--r--content/posts/2022-10-15-blogsite2.md2
-rw-r--r--content/posts/2022-12-04-aoc.md2
-rw-r--r--content/posts/2022-12-20-longboard-5.md2
-rw-r--r--content/posts/2022-12-26-spotifyd.md2
-rw-r--r--content/posts/2022-12-30-comments.md2
-rw-r--r--content/posts/2022-12-31-cgit.md2
-rw-r--r--content/posts/2023-01-31-oso.md2
-rw-r--r--content/posts/2023-02-05-book-site-reliability-engineering.md2
-rw-r--r--content/posts/2023-02-05-semantic-dissonance.md2
-rw-r--r--content/posts/2023-04-09-designing-data-intensive-applications.md2
-rw-r--r--content/posts/2023-06-16-bike.md4
-rw-r--r--content/posts/2023-06-16-bike/bike2.jpg (renamed from content/posts/assets/bike2.jpg)bin508370 -> 508370 bytes
-rw-r--r--content/posts/2023-08-11-4-eyes.md2
-rw-r--r--content/posts/2023-08-22-comments-2.md2
-rw-r--r--content/posts/2023-09-12-mcl.md2
-rw-r--r--content/posts/2023-10-01-parable-of-the-sower.md2
-rw-r--r--content/posts/2023-10-07-zipdl.md2
-rw-r--r--content/posts/2023-11-25-roc.md2
-rw-r--r--content/posts/2023-11-26-skateboard-2.md2
-rw-r--r--content/posts/2023-12-01-aoc2023.md2
-rw-r--r--content/posts/2024-01-26-data-oriented-design.md2
-rw-r--r--content/posts/2024-01-26-dyn.md2
-rw-r--r--content/posts/2024-02-01-1brc.md2
-rw-r--r--content/posts/2024-02-05-phones.md2
-rw-r--r--content/posts/2024-03-01-communication.md2
-rw-r--r--content/posts/2024-03-03-catb.md2
-rw-r--r--content/posts/2024-03-27-zine.md2
-rw-r--r--content/posts/2024-03-31-stranger-times.md2
-rw-r--r--content/posts/2024-05-23-zigvm.md2
-rw-r--r--content/posts/index.md2
-rw-r--r--content/projects/index.md2
-rw-r--r--content/projects/zigvm.md2
-rw-r--r--content/projects/zipdl.md2
-rw-r--r--layouts/404.shtml (renamed from layouts/404.html)2
-rw-r--r--layouts/list.shtml (renamed from layouts/list.html)6
-rw-r--r--layouts/redirect.html14
-rw-r--r--layouts/redirect.shtml15
-rw-r--r--layouts/rss.xml4
-rw-r--r--layouts/single.html16
-rw-r--r--layouts/single.shtml15
-rw-r--r--layouts/templates/main.shtml (renamed from layouts/templates/main.html)31
-rw-r--r--layouts/video.html5
91 files changed, 136 insertions, 144 deletions
diff --git a/static/css/fonts.css b/assets/static/css/fonts.css
index 8ffcecd..8ffcecd 100644
--- a/static/css/fonts.css
+++ b/assets/static/css/fonts.css
diff --git a/static/css/style.css b/assets/static/css/style.css
index 6288f17..6288f17 100644
--- a/static/css/style.css
+++ b/assets/static/css/style.css
diff --git a/build.zig b/build.zig
index 3544a38..e755877 100644
--- a/build.zig
+++ b/build.zig
@@ -2,10 +2,14 @@ const std = @import("std");
const zine = @import("zine");
pub fn build(b: *std.Build) !void {
- try zine.addWebsite(b, .{
+ zine.website(b, .{
.layouts_dir_path = "layouts",
.content_dir_path = "content",
- .static_dir_path = "static",
+ .assets_dir_path = "assets",
+ .static_assets = &.{
+ "static/css/fonts.css",
+ "static/css/style.css",
+ },
.host_url = "https://mfashby.net",
.title = "mfashby.net",
});
diff --git a/build.zig.zon b/build.zig.zon
index 9410190..76e670f 100644
--- a/build.zig.zon
+++ b/build.zig.zon
@@ -3,10 +3,8 @@
.version = "0.0.0",
.dependencies = .{
.zine = .{
- // TODO switch back to kristoff-it when https://github.com/kristoff-it/zine/pull/36 is merged
- .url = "git+https://github.com/veggiemonk/zine.git#1de396698c2f336371668d18c87fee1d32c98e05",
- .hash = "1220b10ab22d344339c4178565f981e7273d38ee702fbf9b18c1ae67da5eea81f34d",
- //.path = "../zine",
+ .url = "https://github.com/kristoff-it/zine/archive/refs/tags/v0.3.0.zip",
+ .hash = "122082799c345efd9630f2f8c55c8a4093125fd10f0f8a7ecd7d768c06c831955483",
},
},
.paths = .{"."},
diff --git a/comments/build.zig.zon b/comments/build.zig.zon
index 26ff1eb..e1f0a54 100644
--- a/comments/build.zig.zon
+++ b/comments/build.zig.zon
@@ -2,8 +2,8 @@
.name = "comments",
.version = "0.0.1",
.dependencies = .{ .pg = .{
- .url = "https://github.com/MFAshby/pg.zig/archive/148cbe78ad8ed23b7d71ffab2e1e4537dd8a65e6.tar.gz",
- .hash = "122093dd239eefdaf3112933a35bb55851e487dac392b8ad92e4c874aea21bd41244",
+ .url = "https://github.com/karlseguin/pg.zig/archive/239a4468163a49d8c0d03285632eabe96003e9e2.tar.gz",
+ .hash = "1220a1d7e51e2fa45e547c76a9e099c09d06e14b0b9bfc6baa89367f56f1ded399a0",
//.path = "../../pg.zig"
}, .smtp = .{
.url = "https://code.mfashby.net/smtp-zig/snapshot/smtp-zig-main.tar.xz",
diff --git a/content/about/cv.md b/content/about/cv.md
index 461a9d1..93081ca 100644
--- a/content/about/cv.md
+++ b/content/about/cv.md
@@ -2,7 +2,7 @@
.title = "CV",
.author = "Martin Ashby",
.date = @date("2024-04-19T20:38:00Z"),
-.layout = "single.html",
+.layout = "single.shtml",
---
# Martin Ashby - Software Engineer
diff --git a/content/about/index.md b/content/about/index.md
index 8671ff6..b6f642c 100644
--- a/content/about/index.md
+++ b/content/about/index.md
@@ -2,7 +2,7 @@
.title = "About",
.author = "Martin Ashby",
.date = @date("2024-03-01T23:59:52Z"),
-.layout = "list.html",
+.layout = "list.shtml",
---
Hi, my name's Martin.
diff --git a/content/index.md b/content/index.md
index 2daad45..a6af1fc 100644
--- a/content/index.md
+++ b/content/index.md
@@ -2,5 +2,5 @@
.title = "Home",
.author = "Martin Ashby",
.date = @date("2024-03-27T20:26:45+00:00"),
-.layout = "redirect.html",
+.layout = "redirect.shtml",
--- \ No newline at end of file
diff --git a/content/posts/2018-05-31-new-site.md b/content/posts/2018-05-31-new-site.md
index 2814003..8e8a1e1 100644
--- a/content/posts/2018-05-31-new-site.md
+++ b/content/posts/2018-05-31-new-site.md
@@ -2,7 +2,7 @@
.title = "New Site",
.author = "Martin Ashby",
.date = @date("2018-05-31T17:51:07+0100"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2018-06-01-mailu.md b/content/posts/2018-06-01-mailu.md
index ceea47b..6eb75dd 100644
--- a/content/posts/2018-06-01-mailu.md
+++ b/content/posts/2018-06-01-mailu.md
@@ -2,13 +2,13 @@
.title = "Mailu",
.author = "Martin Ashby",
.date = @date("2018-06-01T20:17:00+0100"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
## My search for an email server
-![Rainloop Screenshot](assets/mailu_screenshot.png)
+![Rainloop Screenshot](mailu_screenshot.png)
A big theme in the news recently is data protection, how your personal data is being used (and abused), and taking back control of your data. Part of the problem is that people's personal data is kept in huge private corporate networks, and historically companies have been able to do (essentially) whatever they like with it. I started investigating how difficult it would be to really re-take control of my personal data - beginning with my email.
diff --git a/content/posts/assets/mailu_screenshot.png b/content/posts/2018-06-01-mailu/mailu_screenshot.png
index 97541cc..97541cc 100644
--- a/content/posts/assets/mailu_screenshot.png
+++ b/content/posts/2018-06-01-mailu/mailu_screenshot.png
Binary files differ
diff --git a/content/posts/2018-06-02-unicornpaint.md b/content/posts/2018-06-02-unicornpaint.md
index 132a130..b595e9a 100644
--- a/content/posts/2018-06-02-unicornpaint.md
+++ b/content/posts/2018-06-02-unicornpaint.md
@@ -2,12 +2,12 @@
.title = "Unicorn Paint",
.author = "Martin Ashby",
.date = @date("2018-06-02T22:33:00+0100"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
See [unicornpaint] for details. I'll write about this later...
-![animated image](assets/unicorn.gif)
+![animated image](unicorn.gif)
[unicornpaint]:https://unicorn.mfashby.net
diff --git a/content/posts/assets/unicorn.gif b/content/posts/2018-06-02-unicornpaint/unicorn.gif
index 5dab1c7..5dab1c7 100644
--- a/content/posts/assets/unicorn.gif
+++ b/content/posts/2018-06-02-unicornpaint/unicorn.gif
Binary files differ
diff --git a/content/posts/2021-09-17-restart.md b/content/posts/2021-09-17-restart.md
index 00b57b8..540d70c 100644
--- a/content/posts/2021-09-17-restart.md
+++ b/content/posts/2021-09-17-restart.md
@@ -2,7 +2,7 @@
.title = "Restart",
.author = "Martin Ashby",
.date = @date("2021-09-17T23:41:39+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-09-18-maddy.md b/content/posts/2021-09-18-maddy.md
index aee5966..86fadd5 100644
--- a/content/posts/2021-09-18-maddy.md
+++ b/content/posts/2021-09-18-maddy.md
@@ -2,7 +2,7 @@
.title = "Maddy",
.author = "Martin Ashby",
.date = @date("2021-09-18T22:05:32+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-09-19-longboard-setup.md b/content/posts/2021-09-19-longboard-setup.md
index 145b66f..df035d4 100644
--- a/content/posts/2021-09-19-longboard-setup.md
+++ b/content/posts/2021-09-19-longboard-setup.md
@@ -2,11 +2,11 @@
.title = "Longboard Setup",
.author = "Martin Ashby",
.date = @date("2021-09-19T10:20:49+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
-![Longboard](assets/longboard.jpg)
+![Longboard](longboard.jpg)
I recently picked up longboarding. I enjoy snowboarding, but in the current pandemic + climate change it's looking less sustainable as a hobby, so I'm learning downhill longboarding.
diff --git a/content/posts/assets/longboard.jpg b/content/posts/2021-09-19-longboard-setup/longboard.jpg
index cde2a9d..cde2a9d 100644
--- a/content/posts/assets/longboard.jpg
+++ b/content/posts/2021-09-19-longboard-setup/longboard.jpg
Binary files differ
diff --git a/content/posts/2021-09-21-manjaro.md b/content/posts/2021-09-21-manjaro.md
index 68507ee..4299b9c 100644
--- a/content/posts/2021-09-21-manjaro.md
+++ b/content/posts/2021-09-21-manjaro.md
@@ -2,7 +2,7 @@
.title = "Manjaro",
.author = "Martin Ashby",
.date = @date("2021-09-21T20:03:48+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-09-26-pine64.md b/content/posts/2021-09-26-pine64.md
index 23adb50..acee564 100644
--- a/content/posts/2021-09-26-pine64.md
+++ b/content/posts/2021-09-26-pine64.md
@@ -2,7 +2,7 @@
.title = "Pine64",
.author = "Martin Ashby",
.date = @date("2021-09-26T16:39:28+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-09-29-bike.md b/content/posts/2021-09-29-bike.md
index 284e8cf..0dc06e5 100644
--- a/content/posts/2021-09-29-bike.md
+++ b/content/posts/2021-09-29-bike.md
@@ -2,7 +2,7 @@
.title = "Bike",
.author = "Martin Ashby",
.date = @date("2021-10-01T12:27:26+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
@@ -14,4 +14,4 @@ For my daughter, I fitted an [Oxford little explorer](https://www.argos.co.uk/pr
Probably the next thing I'll need to upgrade are some lights. I bought some small silicone ones but these quickly died as they allowed water into the battery compartment. I'll likely get some helmet mounted ones as well as ones for the actual bike, and reflective strips for the back seat to try to maximise visibility. After that I would also like to upgrade the brakes. I've got rim-brakes with fairly large pads, but something with a bit more stopping power would be nice.
-![Bike](assets/bike.jpg)
+![Bike](bike.jpg)
diff --git a/content/posts/assets/bike.jpg b/content/posts/2021-09-29-bike/bike.jpg
index 5a867bd..5a867bd 100644
--- a/content/posts/assets/bike.jpg
+++ b/content/posts/2021-09-29-bike/bike.jpg
Binary files differ
diff --git a/content/posts/2021-09-29-recipe.md b/content/posts/2021-09-29-recipe.md
index c3d61f9..fa443aa 100644
--- a/content/posts/2021-09-29-recipe.md
+++ b/content/posts/2021-09-29-recipe.md
@@ -2,7 +2,7 @@
.title = "Recipe",
.author = "Martin Ashby",
.date = @date("2021-09-29T22:56:01+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-10-01-blog.md b/content/posts/2021-10-01-blog.md
index 49a769b..32d595b 100644
--- a/content/posts/2021-10-01-blog.md
+++ b/content/posts/2021-10-01-blog.md
@@ -2,7 +2,7 @@
.title = "Blog",
.author = "Martin Ashby",
.date = @date("2021-10-01T19:34:15+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-10-06-clojure.md b/content/posts/2021-10-06-clojure.md
index ef5f36e..14d9770 100644
--- a/content/posts/2021-10-06-clojure.md
+++ b/content/posts/2021-10-06-clojure.md
@@ -2,7 +2,7 @@
.title = "Clojure",
.author = "Martin Ashby",
.date = @date("2021-10-06T21:35:37+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-10-30-openbsd.md b/content/posts/2021-10-30-openbsd.md
index 113a495..5551532 100644
--- a/content/posts/2021-10-30-openbsd.md
+++ b/content/posts/2021-10-30-openbsd.md
@@ -2,7 +2,7 @@
.title = "OpenBSD",
.author = "Martin Ashby",
.date = @date("2021-10-30T20:25:43+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-11-05-postgres-query-rewrite.md b/content/posts/2021-11-05-postgres-query-rewrite.md
index 4a2959e..d3ce7ea 100644
--- a/content/posts/2021-11-05-postgres-query-rewrite.md
+++ b/content/posts/2021-11-05-postgres-query-rewrite.md
@@ -2,7 +2,7 @@
.title = "Postgres Query Rewrite",
.author = "Martin Ashby",
.date = @date("2021-11-05T11:57:12Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-11-09-longboard-2.md b/content/posts/2021-11-09-longboard-2.md
index b152365..a87acc7 100644
--- a/content/posts/2021-11-09-longboard-2.md
+++ b/content/posts/2021-11-09-longboard-2.md
@@ -2,7 +2,7 @@
.title = "Longboard 2",
.author = "Martin Ashby",
.date = @date("2021-11-09T21:56:41Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-11-14-backups.md b/content/posts/2021-11-14-backups.md
index 1c8b798..396dcb3 100644
--- a/content/posts/2021-11-14-backups.md
+++ b/content/posts/2021-11-14-backups.md
@@ -2,7 +2,7 @@
.title = "Backups",
.author = "Martin Ashby",
.date = @date("2021-11-14T11:12:44Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-12-04-contacts.md b/content/posts/2021-12-04-contacts.md
index dd4c334..08f18f6 100644
--- a/content/posts/2021-12-04-contacts.md
+++ b/content/posts/2021-12-04-contacts.md
@@ -2,7 +2,7 @@
.title = "Contacts",
.author = "Martin Ashby",
.date = @date("2021-12-04T15:05:47Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2021-12-28-chat-server-protocol.md b/content/posts/2021-12-28-chat-server-protocol.md
index 3fe709f..4d8e084 100644
--- a/content/posts/2021-12-28-chat-server-protocol.md
+++ b/content/posts/2021-12-28-chat-server-protocol.md
@@ -2,7 +2,7 @@
.title = "Chat Server Protocol",
.author = "Martin Ashby",
.date = @date("2021-12-28T22:22:01Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-02-11-philosophy-software-dev.md b/content/posts/2022-02-11-philosophy-software-dev.md
index 9adf6df..6319350 100644
--- a/content/posts/2022-02-11-philosophy-software-dev.md
+++ b/content/posts/2022-02-11-philosophy-software-dev.md
@@ -2,7 +2,7 @@
.title = "Book - Philosophy Of Software Design",
.author = "Martin Ashby",
.date = @date("2022-02-11T19:18:07Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-02-23-wordle.md b/content/posts/2022-02-23-wordle.md
index 0df2863..d2d576a 100644
--- a/content/posts/2022-02-23-wordle.md
+++ b/content/posts/2022-02-23-wordle.md
@@ -2,7 +2,7 @@
.title = "Wordle",
.author = "Martin Ashby",
.date = @date("2022-02-23T13:41:22Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-03-19-wildcard.md b/content/posts/2022-03-19-wildcard.md
index 4567b40..05c780f 100644
--- a/content/posts/2022-03-19-wildcard.md
+++ b/content/posts/2022-03-19-wildcard.md
@@ -2,7 +2,7 @@
.title = "Wildcard",
.author = "Martin Ashby",
.date = @date("2022-03-19T13:17:26Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-03-27-fossil.md b/content/posts/2022-03-27-fossil.md
index 4e2184b..135c419 100644
--- a/content/posts/2022-03-27-fossil.md
+++ b/content/posts/2022-03-27-fossil.md
@@ -2,7 +2,7 @@
.title = "Fossil",
.author = "Martin Ashby",
.date = @date("2022-03-27T11:28:31+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-04-30-longboard-3.md b/content/posts/2022-04-30-longboard-3.md
index 06675f2..0cba41e 100644
--- a/content/posts/2022-04-30-longboard-3.md
+++ b/content/posts/2022-04-30-longboard-3.md
@@ -2,7 +2,7 @@
.title = "Longboard 3",
.author = "Martin Ashby",
.date = @date("2022-04-30T19:49:39+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
Since my [last post](/2021-11-09-longboard-2/) on longboarding, I've become a lot more comfortable with push-up and coleman slides, and now I aim to learn [toeside pendulum slide](https://youtu.be/a5B_XaubQNE). I have had limited success so far, and one bad high-side attempting it (fall down-hill direction, as opposed to low-side falling in the uphill direction). Luckily my helmet did it's job, I'll be trying again in the future.
@@ -18,6 +18,6 @@ This particular board has caliber II (reverse king pin) trucks. I've swapped the
Much more importantly, I've found a fellow longboarder to skate with, and a couple of new spots nearby. Videos to follow!
-![Apex Diamond Drop Top](assets/apex_1.jpg)
-![Apex Diamond Drop Bottom](assets/apex_2.jpg)
+![Apex Diamond Drop Top](apex_1.jpg)
+![Apex Diamond Drop Bottom](apex_2.jpg)
diff --git a/content/posts/assets/apex_1.jpg b/content/posts/2022-04-30-longboard-3/apex_1.jpg
index 8b6e9b5..8b6e9b5 100644
--- a/content/posts/assets/apex_1.jpg
+++ b/content/posts/2022-04-30-longboard-3/apex_1.jpg
Binary files differ
diff --git a/content/posts/assets/apex_2.jpg b/content/posts/2022-04-30-longboard-3/apex_2.jpg
index bf8f46a..bf8f46a 100644
--- a/content/posts/assets/apex_2.jpg
+++ b/content/posts/2022-04-30-longboard-3/apex_2.jpg
Binary files differ
diff --git a/content/posts/2022-05-07-stolen-focus.md b/content/posts/2022-05-07-stolen-focus.md
index d443231..1e74ace 100644
--- a/content/posts/2022-05-07-stolen-focus.md
+++ b/content/posts/2022-05-07-stolen-focus.md
@@ -2,7 +2,7 @@
.title = "Book - Stolen Focus",
.author = "Martin Ashby",
.date = @date("2022-05-07T15:18:58+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-06-09-rustlings.md b/content/posts/2022-06-09-rustlings.md
index 6427470..332c87a 100644
--- a/content/posts/2022-06-09-rustlings.md
+++ b/content/posts/2022-06-09-rustlings.md
@@ -2,7 +2,7 @@
.title = "Rustlings",
.author = "Martin Ashby",
.date = @date("2022-06-09T21:58:40+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-07-09-longboard-4.md b/content/posts/2022-07-09-longboard-4.md
index 3847651..b87131e 100644
--- a/content/posts/2022-07-09-longboard-4.md
+++ b/content/posts/2022-07-09-longboard-4.md
@@ -2,7 +2,7 @@
.title = "Longboard 4",
.author = "Martin Ashby",
.date = @date("2022-07-09T22:00:07+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-07-30-fossil2.md b/content/posts/2022-07-30-fossil2.md
index 7ed6f79..0df1211 100644
--- a/content/posts/2022-07-30-fossil2.md
+++ b/content/posts/2022-07-30-fossil2.md
@@ -2,7 +2,7 @@
.title = "Fossil 2",
.author = "Martin Ashby",
.date = @date("2022-07-30T22:57:38+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-09-09-serverless.md b/content/posts/2022-09-09-serverless.md
index 9ef05cb..2ae16cf 100644
--- a/content/posts/2022-09-09-serverless.md
+++ b/content/posts/2022-09-09-serverless.md
@@ -2,7 +2,7 @@
.title = "Serverless",
.author = "Martin Ashby",
.date = @date("2022-09-09T21:48:19+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-09-25-back-to-git.md b/content/posts/2022-09-25-back-to-git.md
index a208b22..0daedc3 100644
--- a/content/posts/2022-09-25-back-to-git.md
+++ b/content/posts/2022-09-25-back-to-git.md
@@ -2,7 +2,7 @@
.title = "Back to Git",
.author = "Martin Ashby",
.date = @date("2022-09-25T21:09:31+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-10-07-blocky.md b/content/posts/2022-10-07-blocky.md
index 51b6d0d..cfe87b7 100644
--- a/content/posts/2022-10-07-blocky.md
+++ b/content/posts/2022-10-07-blocky.md
@@ -2,7 +2,7 @@
.title = "Blocky",
.author = "Martin Ashby",
.date = @date("2022-10-07T20:24:03+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-10-09-quine.md b/content/posts/2022-10-09-quine.md
index b5e780f..827e86c 100644
--- a/content/posts/2022-10-09-quine.md
+++ b/content/posts/2022-10-09-quine.md
@@ -2,7 +2,7 @@
.title = "Quine",
.author = "Martin Ashby",
.date = @date("2022-10-09T13:11:52+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-10-09-skateboard-1.md b/content/posts/2022-10-09-skateboard-1.md
index 78c762b..aa5026d 100644
--- a/content/posts/2022-10-09-skateboard-1.md
+++ b/content/posts/2022-10-09-skateboard-1.md
@@ -2,7 +2,7 @@
.title = "Skateboard 1",
.author = "Martin Ashby",
.date = @date("2022-10-09T13:21:00+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
@@ -14,6 +14,6 @@ I went through several sets of bushings until finally settling on [bones hardcor
Finally; I bought a skate-tool. Previously I'd been carrying a socket-wrench around in my bag, and it wasn't super convenient. The skate tool fits in my pocket so I can pack lighter :)
-![Skateboard](assets/skateboard.jpg)
+![Skateboard](skateboard.jpg)
<iframe title="drop-in" width="560" height="315" src="https://tube.spdns.org/videos/embed/637ab1fd-2ad4-4a88-9010-a0a04bd4a33a" frameborder="0" allowfullscreen="" sandbox="allow-same-origin allow-scripts allow-popups"></iframe> \ No newline at end of file
diff --git a/content/posts/assets/skateboard.jpg b/content/posts/2022-10-09-skateboard-1/skateboard.jpg
index 6b109e0..6b109e0 100644
--- a/content/posts/assets/skateboard.jpg
+++ b/content/posts/2022-10-09-skateboard-1/skateboard.jpg
Binary files differ
diff --git a/content/posts/2022-10-14-blogsite.md b/content/posts/2022-10-14-blogsite.md
index a2621ac..ade6624 100644
--- a/content/posts/2022-10-14-blogsite.md
+++ b/content/posts/2022-10-14-blogsite.md
@@ -2,7 +2,7 @@
.title = "Blogsite",
.author = "Martin Ashby",
.date = @date("2022-10-14T22:59:01+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-10-14-caddy.md b/content/posts/2022-10-14-caddy.md
index 944d3ea..009bf53 100644
--- a/content/posts/2022-10-14-caddy.md
+++ b/content/posts/2022-10-14-caddy.md
@@ -2,7 +2,7 @@
.title = "Caddy",
.author = "Martin Ashby",
.date = @date("2022-10-14T22:58:22+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-10-15-blogsite2.md b/content/posts/2022-10-15-blogsite2.md
index c6bec3d..ddb3e7b 100644
--- a/content/posts/2022-10-15-blogsite2.md
+++ b/content/posts/2022-10-15-blogsite2.md
@@ -2,7 +2,7 @@
.title = "Blogsite 2",
.author = "Martin Ashby",
.date = @date("2022-10-15T22:39:18+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-12-04-aoc.md b/content/posts/2022-12-04-aoc.md
index 9579a48..864f641 100644
--- a/content/posts/2022-12-04-aoc.md
+++ b/content/posts/2022-12-04-aoc.md
@@ -2,7 +2,7 @@
.title = "Advent of Code",
.author = "Martin Ashby",
.date = @date("2022-12-04T08:54:56Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-12-20-longboard-5.md b/content/posts/2022-12-20-longboard-5.md
index c21990d..da5ecf5 100644
--- a/content/posts/2022-12-20-longboard-5.md
+++ b/content/posts/2022-12-20-longboard-5.md
@@ -2,7 +2,7 @@
.title = "Longboard 5",
.author = "Martin Ashby",
.date = @date("2022-12-20T14:16:49Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-12-26-spotifyd.md b/content/posts/2022-12-26-spotifyd.md
index d615e76..ded36f7 100644
--- a/content/posts/2022-12-26-spotifyd.md
+++ b/content/posts/2022-12-26-spotifyd.md
@@ -2,7 +2,7 @@
.title = "Spotifyd",
.author = "Martin Ashby",
.date = @date("2022-12-26T23:08:03Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-12-30-comments.md b/content/posts/2022-12-30-comments.md
index 240d41d..e6aa9b8 100644
--- a/content/posts/2022-12-30-comments.md
+++ b/content/posts/2022-12-30-comments.md
@@ -2,7 +2,7 @@
.title = "Comments",
.author = "Martin Ashby",
.date = @date("2022-12-30T17:53:00Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2022-12-31-cgit.md b/content/posts/2022-12-31-cgit.md
index 52a7941..3ef1fe7 100644
--- a/content/posts/2022-12-31-cgit.md
+++ b/content/posts/2022-12-31-cgit.md
@@ -2,7 +2,7 @@
.title = "Cgit",
.author = "Martin Ashby",
.date = @date("2022-12-31T23:39:38Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-01-31-oso.md b/content/posts/2023-01-31-oso.md
index 1ca57c2..bbb916f 100644
--- a/content/posts/2023-01-31-oso.md
+++ b/content/posts/2023-01-31-oso.md
@@ -2,7 +2,7 @@
.title = "Authorization and search operations",
.author = "Martin Ashby",
.date = @date("2023-01-31T21:14:06Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-02-05-book-site-reliability-engineering.md b/content/posts/2023-02-05-book-site-reliability-engineering.md
index 03766e8..3224968 100644
--- a/content/posts/2023-02-05-book-site-reliability-engineering.md
+++ b/content/posts/2023-02-05-book-site-reliability-engineering.md
@@ -2,7 +2,7 @@
.title = "Book - Site Reliability Engineering",
.author = "Martin Ashby",
.date = @date("2023-02-05T15:53:43Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-02-05-semantic-dissonance.md b/content/posts/2023-02-05-semantic-dissonance.md
index e7e20d1..30ea99f 100644
--- a/content/posts/2023-02-05-semantic-dissonance.md
+++ b/content/posts/2023-02-05-semantic-dissonance.md
@@ -2,7 +2,7 @@
.title = "Semantic Dissonance",
.author = "Martin Ashby",
.date = @date("2023-02-05T16:38:55Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-04-09-designing-data-intensive-applications.md b/content/posts/2023-04-09-designing-data-intensive-applications.md
index 006eb04..24ab2f0 100644
--- a/content/posts/2023-04-09-designing-data-intensive-applications.md
+++ b/content/posts/2023-04-09-designing-data-intensive-applications.md
@@ -2,7 +2,7 @@
.title = "Book - Designing Data Intensive Applications",
.author = "Martin Ashby",
.date = @date("2023-04-09T21:45:01+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-06-16-bike.md b/content/posts/2023-06-16-bike.md
index f00f619..4f66111 100644
--- a/content/posts/2023-06-16-bike.md
+++ b/content/posts/2023-06-16-bike.md
@@ -2,7 +2,7 @@
.title = "Bike 2",
.author = "Martin Ashby",
.date = @date("2023-06-16T21:04:31+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
@@ -12,5 +12,5 @@ Firstly; the [freehub](https://en.wikipedia.org/wiki/Freehub) broke, which put i
The other difference is a recently purchased [followme tandem](https://www.thelittlebikecompany.co.uk/product/followme-tandem/) set to connect my daughter's bike to mine. She is outgrowing the seat on my cycle but she's too young to ride on roads and not confident to ride her own yet. The followme seems like a good bridge to get her used to pedalling and having her own seat, but we can still cover a good distance for a day out. I was inspired by the review from [cyclesprog](https://www.cyclesprog.co.uk/carrying-kids-on-bikes/bike-towbars/followme-cycle-hitch-full-review/). We tested it out today with a friend!
-![Myself and daughter on followme tandem, friend on road cycle](assets/bike2.jpg)
+![Myself and daughter on followme tandem, friend on road cycle](bike2.jpg)
diff --git a/content/posts/assets/bike2.jpg b/content/posts/2023-06-16-bike/bike2.jpg
index 57072d0..57072d0 100644
--- a/content/posts/assets/bike2.jpg
+++ b/content/posts/2023-06-16-bike/bike2.jpg
Binary files differ
diff --git a/content/posts/2023-08-11-4-eyes.md b/content/posts/2023-08-11-4-eyes.md
index 622336e..9ba3f60 100644
--- a/content/posts/2023-08-11-4-eyes.md
+++ b/content/posts/2023-08-11-4-eyes.md
@@ -2,7 +2,7 @@
.title = "Four Eyes",
.author = "Martin Ashby",
.date = @date("2023-08-11T22:50:43+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-08-22-comments-2.md b/content/posts/2023-08-22-comments-2.md
index 2e028a8..d5d6225 100644
--- a/content/posts/2023-08-22-comments-2.md
+++ b/content/posts/2023-08-22-comments-2.md
@@ -2,7 +2,7 @@
.title = "Comments 2",
.author = "Martin Ashby",
.date = @date("2023-08-22T14:48:41+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-09-12-mcl.md b/content/posts/2023-09-12-mcl.md
index df86950..60f9e25 100644
--- a/content/posts/2023-09-12-mcl.md
+++ b/content/posts/2023-09-12-mcl.md
@@ -2,7 +2,7 @@
.title = "Mcl (minecraft launcher)",
.author = "Martin Ashby",
.date = @date("2023-09-12T07:03:15+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-10-01-parable-of-the-sower.md b/content/posts/2023-10-01-parable-of-the-sower.md
index 79d460c..23ad3a0 100644
--- a/content/posts/2023-10-01-parable-of-the-sower.md
+++ b/content/posts/2023-10-01-parable-of-the-sower.md
@@ -2,7 +2,7 @@
.title = "Book - Parable of the Sower / Parable of the Talents",
.author = "Martin Ashby",
.date = @date("2023-10-01T22:23:00+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-10-07-zipdl.md b/content/posts/2023-10-07-zipdl.md
index 3886f50..7e91a88 100644
--- a/content/posts/2023-10-07-zipdl.md
+++ b/content/posts/2023-10-07-zipdl.md
@@ -2,7 +2,7 @@
.title = "Zipdl",
.author = "Martin Ashby",
.date = @date("2023-10-07T23:28:16+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-11-25-roc.md b/content/posts/2023-11-25-roc.md
index 56b8b99..626d972 100644
--- a/content/posts/2023-11-25-roc.md
+++ b/content/posts/2023-11-25-roc.md
@@ -2,7 +2,7 @@
.title = "Roc",
.author = "Martin Ashby",
.date = @date("2023-11-25T21:19:27Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-11-26-skateboard-2.md b/content/posts/2023-11-26-skateboard-2.md
index 0c33366..d49ce84 100644
--- a/content/posts/2023-11-26-skateboard-2.md
+++ b/content/posts/2023-11-26-skateboard-2.md
@@ -2,7 +2,7 @@
.title = "Skateboard 2",
.author = "Martin Ashby",
.date = @date("2023-11-26T20:33:27Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2023-12-01-aoc2023.md b/content/posts/2023-12-01-aoc2023.md
index 28d6a59..383dca5 100644
--- a/content/posts/2023-12-01-aoc2023.md
+++ b/content/posts/2023-12-01-aoc2023.md
@@ -2,7 +2,7 @@
.title = "Advent of Code 2023",
.author = "Martin Ashby",
.date = @date("2023-12-01T21:42:21Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-01-26-data-oriented-design.md b/content/posts/2024-01-26-data-oriented-design.md
index 3e48383..0b16419 100644
--- a/content/posts/2024-01-26-data-oriented-design.md
+++ b/content/posts/2024-01-26-data-oriented-design.md
@@ -2,7 +2,7 @@
.title = "Book - Data Oriented Design",
.author = "Martin Ashby",
.date = @date("2024-01-26T20:19:31Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-01-26-dyn.md b/content/posts/2024-01-26-dyn.md
index 3c672ae..3eaf189 100644
--- a/content/posts/2024-01-26-dyn.md
+++ b/content/posts/2024-01-26-dyn.md
@@ -2,7 +2,7 @@
.title = "Dynamic DNS",
.author = "Martin Ashby",
.date = @date("2024-01-26T00:02:35Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-02-01-1brc.md b/content/posts/2024-02-01-1brc.md
index 823b06a..a38c637 100644
--- a/content/posts/2024-02-01-1brc.md
+++ b/content/posts/2024-02-01-1brc.md
@@ -2,7 +2,7 @@
.title = "1brc",
.author = "Martin Ashby",
.date = @date("2024-02-01T13:58:47Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-02-05-phones.md b/content/posts/2024-02-05-phones.md
index 6ef7bba..d68a6a9 100644
--- a/content/posts/2024-02-05-phones.md
+++ b/content/posts/2024-02-05-phones.md
@@ -2,7 +2,7 @@
.title = "Fairphone",
.author = "Martin Ashby",
.date = @date("2024-02-05T19:56:17Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-03-01-communication.md b/content/posts/2024-03-01-communication.md
index db143fe..b321739 100644
--- a/content/posts/2024-03-01-communication.md
+++ b/content/posts/2024-03-01-communication.md
@@ -2,7 +2,7 @@
.title = "Communication",
.author = "Martin Ashby",
.date = @date("2024-03-01T14:40:50Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-03-03-catb.md b/content/posts/2024-03-03-catb.md
index e9696e0..d620492 100644
--- a/content/posts/2024-03-03-catb.md
+++ b/content/posts/2024-03-03-catb.md
@@ -2,7 +2,7 @@
.title = "Book - The Cathedral and the Bazaar",
.author = "Martin Ashby",
.date = @date("2024-03-03T19:31:27Z"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
.description = "Book review 'The Cathedral and the Bazaar'"
---
diff --git a/content/posts/2024-03-27-zine.md b/content/posts/2024-03-27-zine.md
index bff3d56..0bfd4bf 100644
--- a/content/posts/2024-03-27-zine.md
+++ b/content/posts/2024-03-27-zine.md
@@ -3,7 +3,7 @@
.author = "Martin Ashby",
.description = "I converted my blog from [hugo](https://gohugo.io/) to [zine](https://zine-ssg.io/).",
.date = @date("2024-03-27T20:26:45+00:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-03-31-stranger-times.md b/content/posts/2024-03-31-stranger-times.md
index e65b4c2..a440e28 100644
--- a/content/posts/2024-03-31-stranger-times.md
+++ b/content/posts/2024-03-31-stranger-times.md
@@ -3,7 +3,7 @@
.author = "Martin Ashby",
.description = "I read [The Stranger Times](https://thestrangertimes.co.uk/) series by Caimh McDonnell, TL; DR they're great.",
.date = @date("2024-03-31T20:29:31+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/2024-05-23-zigvm.md b/content/posts/2024-05-23-zigvm.md
index 1e964d4..c395dca 100644
--- a/content/posts/2024-05-23-zigvm.md
+++ b/content/posts/2024-05-23-zigvm.md
@@ -2,7 +2,7 @@
.title = "zigvm",
.author = "Martin Ashby",
.date = @date("2024-05-23T22:24:34+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
.custom = {"comments": true},
---
diff --git a/content/posts/index.md b/content/posts/index.md
index 66c9f90..eb0b90b 100644
--- a/content/posts/index.md
+++ b/content/posts/index.md
@@ -2,7 +2,7 @@
.title = "mfashby.net",
.author = "Martin Ashby",
.date = @date("1900-01-01T00:00:00Z"),
-.layout = "list.html",
+.layout = "list.shtml",
.alternatives = [{
.layout = "rss.xml",
.output = "index.xml",
diff --git a/content/projects/index.md b/content/projects/index.md
index c1e06a7..1c70c79 100644
--- a/content/projects/index.md
+++ b/content/projects/index.md
@@ -2,5 +2,5 @@
.title = "About",
.author = "Martin Ashby",
.date = @date("2024-03-01T23:59:52Z"),
-.layout = "list.html",
+.layout = "list.shtml",
---
diff --git a/content/projects/zigvm.md b/content/projects/zigvm.md
index 10ec494..c19fbd3 100644
--- a/content/projects/zigvm.md
+++ b/content/projects/zigvm.md
@@ -2,7 +2,7 @@
.title = "zigvm",
.author = "Martin Ashby",
.date = @date("2024-05-28T20:18:54+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
---
A tool to download and manage versions of the [zig](https://ziglang.org/) compiler.
diff --git a/content/projects/zipdl.md b/content/projects/zipdl.md
index 5b89963..0ef7bc6 100644
--- a/content/projects/zipdl.md
+++ b/content/projects/zipdl.md
@@ -2,7 +2,7 @@
.title = "zipdl",
.author = "Martin Ashby",
.date = @date("2024-05-28T20:18:54+01:00"),
-.layout = "single.html",
+.layout = "single.shtml",
---
A program for downloading individual files from a remote ZIP file on a http server that supports [Range](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Range) requests.
diff --git a/layouts/404.html b/layouts/404.shtml
index c2e4e40..9020112 100644
--- a/layouts/404.html
+++ b/layouts/404.shtml
@@ -2,4 +2,4 @@
404 NOT FOUND
-{{ partial "footer.html" . }}
+{{ partial "footer.html" . }} \ No newline at end of file
diff --git a/layouts/list.html b/layouts/list.shtml
index ce3b64e..758dc09 100644
--- a/layouts/list.html
+++ b/layouts/list.shtml
@@ -1,13 +1,11 @@
-<extend template="main.html"/>
+<extend template="main.shtml">
<div id="main">
<h1 var="$page.title"></h1>
-
<p var="$page.content"></p>
-
<ul loop="$page.subpages()">
<li>
<span class="date" var="$loop.it.date.format('2006/01/02')"></span>
- <a href="$loop.it.permalink()" var="$loop.it.title"></a>
+ <a href="$loop.it.link()" var="$loop.it.title"></a>
</li>
</ul>
</div> \ No newline at end of file
diff --git a/layouts/redirect.html b/layouts/redirect.html
deleted file mode 100644
index 9cfd747..0000000
--- a/layouts/redirect.html
+++ /dev/null
@@ -1,14 +0,0 @@
-<!DOCTYPE HTML>
-<html lang="en-US">
- <head>
- <meta charset="UTF-8">
- <meta http-equiv="refresh" content="0; url=/posts/">
- <script type="text/javascript">
- window.location.href = "/posts/"
- </script>
- <title>Page Redirection</title>
- </head>
- <body>
- If you are not redirected automatically, follow this <a href='/post/'>link</a>.
- </body>
-</html>
diff --git a/layouts/redirect.shtml b/layouts/redirect.shtml
new file mode 100644
index 0000000..a10982f
--- /dev/null
+++ b/layouts/redirect.shtml
@@ -0,0 +1,15 @@
+<!DOCTYPE HTML>
+<html lang="en-US">
+ <head>
+ <meta charset="UTF-8">
+ <meta http-equiv="refresh" content="0; url=/posts/">
+ <script type="text/javascript">
+ window.location.href = "/posts/"
+ </script>
+ <title>Page Redirection</title>
+ </head>
+ <body>
+ If you are not redirected automatically, follow this
+ <a href='/post/'>link</a>.
+ </body>
+</html> \ No newline at end of file
diff --git a/layouts/rss.xml b/layouts/rss.xml
index 349f8f0..1023a18 100644
--- a/layouts/rss.xml
+++ b/layouts/rss.xml
@@ -10,9 +10,9 @@
<atom:link href="https://mfashby.net/index.xml" rel="self" type="application/rss+xml"/>
<item inline-loop="$page.subpages()">
<title var="$loop.it.title"></title>
- <link var="$loop.it.permalink()"></link>
+ <link var="$loop.it.link()"></link>
<pubDate var="$loop.it.date.formatHTTP()"></pubDate>
- <guid isPermaLink="true" var="$loop.it.permalink()"></guid>
+ <guid isPermaLink="true" var="$loop.it.link()"></guid>
<description var="$loop.it.description"></description>
<content:encoded var="$loop.it.content"></content:encoded> <!-- This doesn't work, an empty tag is emitted -->
</item>
diff --git a/layouts/single.html b/layouts/single.html
deleted file mode 100644
index 971b664..0000000
--- a/layouts/single.html
+++ /dev/null
@@ -1,16 +0,0 @@
-<extend template="main.html"/>
-<div id="main">
- <div class="article-meta">
- <h1><span class="title" var="$page.title"></span></h1>
- </div>
-
- <main var="$page.content"></main>
-
- <footer>
- <div class="article-meta">
- <span class="author">Author <span var="$page.author"></span></span><br/>
- <span>Updated <span class="date" var="$page.date.format('2006/01/02')"></span></span><br/>
- </div>
- </footer>
-
-</div> \ No newline at end of file
diff --git a/layouts/single.shtml b/layouts/single.shtml
new file mode 100644
index 0000000..d689187
--- /dev/null
+++ b/layouts/single.shtml
@@ -0,0 +1,15 @@
+<extend template="main.shtml">
+<div id="main">
+ <div class="article-meta">
+ <h1><span class="title" var="$page.title"></span></h1>
+ </div>
+ <main var="$page.content"></main>
+ <footer>
+ <div class="article-meta">
+ <span class="author">Author
+ <span var="$page.author"></span></span><br>
+ <span>Updated
+ <span class="date" var="$page.date.format('2006/01/02')"></span></span><br>
+ </div>
+ </footer>
+</div> \ No newline at end of file
diff --git a/layouts/templates/main.html b/layouts/templates/main.shtml
index 5d99d63..c9369fc 100644
--- a/layouts/templates/main.html
+++ b/layouts/templates/main.shtml
@@ -4,32 +4,29 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title var="$page.title.suffix('|', $site.title)"></title>
- <link rel="stylesheet" href="/css/style.css"/>
- <link rel="stylesheet" href="/css/fonts.css"/>
+ <link rel="stylesheet" href="/css/style.css">
+ <link rel="stylesheet" href="/css/fonts.css">
</head>
-
<body>
<nav>
- <ul class="menu">
- <li><a href="/posts">home</a></li>
- <li><a href="/about">about</a></li>
- <li><a href="/projects">projects</a></li>
- <li><a href="/index.xml">rss</a></li>
- </ul>
- <hr/>
+ <ul class="menu">
+ <li><a href="/posts">home</a></li>
+ <li><a href="/about">about</a></li>
+ <li><a href="/projects">projects</a></li>
+ <li><a href="/index.xml">rss</a></li>
+ </ul>
+ <hr>
</nav>
-
<div id="main">
- <super/>
+ <super>
</div>
-
<footer>
- <div if="$page.custom.get('comments', false)">
+ <div if="$page.custom.get('comments', false)">
<h2>comments</h2>
<div style="visibility: hidden" id="comments">comments go here</div>
<div style="visibility: hidden" id="comment_form">comment form goes here</div>
<script>
- let comments = document.getElementById("comments");
+ let comments = document.getElementById("comments");
let urlParam = new URLSearchParams();
urlParam.append("url", document.location.href);
fetch(document.location.origin + "/api/comment?" + urlParam.toString())
@@ -47,7 +44,7 @@
});
</script>
<noscript>Comments disabled without javascript!</noscript>
- </div>
+ </div>
</footer>
</body>
-</html>
+</html> \ No newline at end of file
diff --git a/layouts/video.html b/layouts/video.html
deleted file mode 100644
index eba4d66..0000000
--- a/layouts/video.html
+++ /dev/null
@@ -1,5 +0,0 @@
-<video class="video-shortcode" preload="{{ .Get "preload" }}" controls>
- <source src="{{ .Get "src" }}" type="{{ .Get "type" }}">
- There should have been a video here but your browser does not seem
- to support it.
-</video>