As I mentioned a couple of days ago in a reply to Donny’s Monday tweet, I started to migrate my blog. I’ve been in the industry for quite a while now, so I’ve used a bunch of different technologies to run my blog: Typo3, Joomla, Ghost, Jekyll, Gatsby (and probably a few others I’ve forgotten about).
Still, I decided to migrate to Publish - why?
So I decided to see how difficult it’d be to migrate everything from Gatsby to Publish.
And the result is pretty compelling - can you spot the difference between the old (left) and the new (right) version?
Using Publish and Plot (the DSL for writing HTML) has been an absolute pleasure, and the fact it is modelled after SwiftUI certainly helps. John even implemented SwiftUI’s Environment concept, which made it super easy for me to define the accent color for individual articles and then access the color in the subcomponents like the header and footer, without having to drag them through all the intermediate components.
Once I’ve finished the implementation, I will publish (🥁) the code for my site on my GitHub profile so you can take a look for yourself, and maybe use a thing or two for your own site.