Thought I’d take this (U.S.) holiday weekend to do a brief comparison of this site’s current “tech stack” with what I was using a year ago today. Since the site wasn’t yet using
package.json in 2019, this is a little trickier than it would be otherwise, but I appear to have it reconstructed.
So, for your geeky pleasure, here goes nothing.
Static site generator (SSG)
2019-07-05: Hugo 0.55.6. At the time, I thought I was about to chuck Hugo for Gatsby. Didn’t quite go that way. For full details on my oft-shifting SSG loyalties—the “Dance”—in the latter half of 2019 in particular, see my 2019 year-end wrap-up.
2020-07-05: Eleventy 0.11.0.
OSs used for local dev
2020-07-05: macOS, iOS.
Repository in use
Online repo host
Repo’s online status
Local repo management tools
Primary text editor for posts
2019-07-05: iA Writer.
Primary text editor for coding and config
2019-07-05: Visual Studio Code.
Primary local terminal apps
2019-07-05: macOS’s built-in Terminal app.
2020-07-05: iTerm2 and Visual Studio Code.
Total posts on site
2020-07-05: 69 (as of this one).
Normal build length (secs.)
2020-07-05: 45–60. Please understand that the difference is mainly in how much image processing I’m now doing (see next three items). If I were doing an apples-to-apples comparison, bare-bones Hugo to bare-bones Eleventy, Hugo would still be faster but not by that much.
Build-time image processing
imgxfm.js script, based on the Sharp library.
Serving responsive images?
Auto-serving multiple image formats?
(In other words, am I sending .webp to browsers that can handle it and .jpg and .png to those that can’t?)
Local image editors
2019-07-05: System fonts.
2020-07-05: Same. I did, however, spend about half of the year between these two configs using either (a.) fonts imported via the npm Typefaces package or (b.) Google Fonts-provided typefaces. I finally decided a couple of days ago to revert to only system fonts after tiring of trying to compensate for the minor, but notable, performance hits that the other typefaces’ delivery methods imposed.2
Support for dark mode?
2020-07-05: Yes. See also this post.
Official site grandchildren (OK, humor me)
In fact, I started with Google Domains only in the last two weeks. I initiated the transfer of all my domains on June 22, and they’d moved successfully by June 28. (It takes a few days under ideal circumstances, folks, so don’t wait until the last minute if a change of registrars involves anything time-sensitive.) ↩︎
I am aware there are ways to handle that, as Zach Leatherman explained so well in 2016, but he obviously is ’waaaay smarter than I am and I don’t have either the knowledge or guts to give the recommended methods a try. Maybe someday, but not now. ↩︎