And just like that, one bug fixed, one test case created, and we have the 100th unit test for the software powering this blog š
Replying to
An IndieWeb Fuelled Week Most of the free time I had in the past week (writing this weeknote a bit late; itās already Wednesday) was spent surrounding topics I discovered while exploring the trove of information from indieweb.org. Re-dis...
Read moreI used to use Hugo, and did for a long time. But sending webmentions was always tricky! Eventually I broke down and just built my own blogging platform lol.
Replying to
Intro# It was during the Christmas period when I was looking for a book to read. I picked up āPragmatic Programmerā from the shelf. Cover of book The Pragmatic Programmer by Andrew Hunt, David Thomas The Pragmatic Programmer Your journey...
Read moreThis is such an awesome adventure just to read. Nice work!
Replying to
Today was a good day, I think, for knitting together. Lolly the cat makes eye contact with the camera as she sits in Marty's lap. Marty is focused on hanging stitches on his knitting machine. Marty works stitches on his knitting machine ...
Read moreHeck yeah! Looks like a wonderful time.
I'm implementing custom theme settings! This is something I had the idea for late one night last week. You define the settings you want in your theme's theme.json like this:
{
...
"settings": {
"fields": {
"accent_color": {
"type": "color",
"label": "Accent color",
"default": "#cc3f2e"
},
"background_color": {
"type": "color",
"label": "Background color",
"default": "#f8f4ef"
},
"max_width": {
"type": "string",
"label": "Layout max width",
"default": "72rem",
"help": "Used for the main content column."
}
},
"groups": [
{
"label": "Colors",
"fields": ["accent_color", "background_color"]
},
{
"label": "Layout",
"fields": ["max_width"]
}
]
}
}
The result is the UI you see above! Then they can be used your theme like this:
<style>
:root {
--accent: {{ theme.settings.accent_color|default:"#cc3f2e" }};
--bg: {{ theme.settings.background_color|default:"#f8f4ef" }};
}
</style>
This seems like a small feature but it gives users and theme devs a ton of flexibility! I'm exicted to someday see how people use it.
Replying to
Lately thereās been a brewing culture war in the software community regarding the usage of LLM-based coding tools (ChatGPT, Claude, Gemini, etc.), and Iām seeing a lot of hardline discourse on both sides, but especially from the anti-AI ...
Read moreI have a hard time finding fault with anyone using AI tools in their jobs. With the economy the way it is, I won't begrudge anyone who feel they need to use them to stay ahead of the curve.
Liked
at Alaska Lounge
Read moreLiked
Iāve been wanting a deadāsimple way to publish small personal sites on Neocities without build tools, databases, or plugins. Today Iām sharing NeoāCMS ā a tiny flatāfile CMS that renders Markdown right in the browser.
The whole idea is:...
Azure and I bought this bookshelf wayyyyy back in December, but couldn't put it up until the Yule tree went away. We did that last weekend but finally had the energy to assemble the BILLY tonight.
It went together much easier than I expected, even for IKEA furniture. And I love how it came together!
I made a noābuild CMS for Neocities
Iāve been wanting a deadāsimple way to publish small personal sites on Neocities without build tools, databases, or plugins. Today Iām sharing NeoāCMS ā a tiny flatāfile CMS that renders Markdown right in the browser. The whole idea is: just files. Drop Markdown into /content, list those files in content/index.json, and add a little YAML front matter for titles, menus, and slugs. Thatās it. No build step. No dependencies. No CLI. If you can edit a text file and upload it to Neocities, you ca...
Read more