~afontaine/home unlisted

home/apps d---------
Make Signature Removal a Little More Flexible

Turns out the idea of whitespace after the -- is a bit of a pain to keep
an eye on between email clients, so a small regex should make sure
things are a bit more flexible.

Add a little logging here while we're at it, but it's not very good
logging at the moment. It'll take a bit to work out a proper idea on how
to log.
Use a URL to Connect to the DB

For actual deployments, a URL is easier to use.
Match On Post Creation

Matching will blow up on error, hopefully giving us a stack trace.

Also log out the new post _just to be sure._
Add Alias for Formatting with Prettier

Also bump some node packages.
Add some Tests around Post Creation

It didn't work last time, so I added some tests to make sure it works
like I expect.

Also raise any errors to be able to capture them in logs in case it
happens again.
Drop SCSS Support

I don't need it, so let's focus on just using tailwind. This means we
don't need to build libsass either.
Opt out of FLOC

Seems tracky, don't like it.
Fix typo for Discussion Email

Obviously, this would've stopped people from being able to email me,
which is no good.
Ensure name of tag is used in open graph

Elixir would throw when trying to put a tag struct into a template. The
tag text needs to be used instead.
Apply nord colours to tag box

I forgot about this, as I don't have any tagged posts yet, but that has
been rectified.
Add Open Graph Tags

In case people share my posts I guess they should preview somewhat nicely.
Balance Post Header by Moving Byline

To help balance out the header of a post, move the byline to below the
header text.
Center Items in Infobox

The info box would otherwise stretch my face on mobile.
Format Flake And Add Node Dependencies as Package

Mostly for better re-use throughout the flake, also the dev shell will
automatically link the node modules into the right spot. I need to look
into doing this with the elixir ones next, but that might be trickier.

Also add a build file! Now builds are managed by sourcehut!
Fix wrongly styled link

There was a link that was not nord-ified. That has been rectified.
Add safety to editing posts without adding tags

Now tags shouldn't be overwritten when changing something not tag
related.
Fix Atom Feed

The feed didn't handle empty items well, it should now though.
Apply Nord Theme

It's cool, it's blue, it's nord!

The light theme is a little big rougher, and the syntax highlighting
needs work, but it's most of the way there.
Add Prism.js for Syntax Highlighting

Earmark can't do it, and prism.js is focussed on loading only what you
need, which I can appreciate. Code blocks look mostly okay without it in
case people disable JS.
Configure Prettier and Eslint

While JS is at a minimum, both are easy to set up and keep things
consistent.
Next