New Look

October 12, 2019

siawyoung.com has been rewrit­ten once again, this time with all the fan­ci­est things you can imag­ine. Gatsby, Netli­fy CMS, Type­script, Styled Com­po­nents, Typog­ra­phy.js. It’s even a PWA!

My old work­flow was broken (you can read about it here.) I stopped writ­ing for a while, and when I recent­ly tried to go back, I spent some time trying to get it to work… then decid­ed eh, it wasn’t worth the effort.

Mark­down is not great, but I guess it’s become the lingua franca. In any case, migrat­ing posts from my old Jekyll-based system to the cur­rent one has been as easy, or even easier, than I imag­ined. I needed to adjust some of the front-matter tags, but the con­tent stayed mostly the same. Good job old me for mostly keep­ing to the stan­dard Mark­down fea­ture set.

I needed to sup­port custom slugs to main­tain back­ward com­pat­i­bil­i­ty with exist­ing perma­links, because noth­ing is more annoy­ing than click­ing on blog links to see a 404. On that note, please let me know if any of the links actu­al­ly don’t work.

There are a number of user-facing improve­ments over the old system. Syntax high­light­ing and line num­bers with Prism.js, image place­hold­ers, even faster per­for­mance thanks to great sane defaults by Gatsby.

          2019 10 12   0 58 30
:100:

I want to start writ­ing reg­u­lar­ly again, and I hope having a CMS will reduce the cog­ni­tive over­head of get­ting start­ed.

Things still need a bit of polish, and some fea­tures and posts have yet to be ported over (e.g. my pho­tog­ra­phy posts, which need a image gallery), but we’ll get there. Just wanted to push a min­i­mal­ly viable thing out there and get things rolling.