02 Jan '19
The annual benswift.me re-write: 2019 edition
There are a few reasons:
it forces me to keep up to date with web stuff, which I teach for a living (students can sniff out a fraud)
my academic activities don’t fit the traditional “list of journal publications” shape that my university-provided web presence is geared towards
if I move to a different institution, I don’t have the difficult job of exfiltrating my content from my old institution’s platform
building things is fun (I’m good at this stuff, and it feels good to use the skills you’ve spent years developing)
part of being an academic is brand-management, and that’s much easier to do if you completely control (at least one of) the platforms you’re putting your message out on
I’m a control-freak, and the idea of not being in control bums me out (this is the pernicious flip side of #5)
Some of these are good reasons, some not-so-good. For a fun party game, argue with me on twitter about which is which 😉
The nitty-gritty technical stuff
I’ve (once again) gone with a Jekyll-powered static site. This time, though, I’ve opted for my own lovingly hand-crafted HTML & CSS rather than one of the out-of-the-box themes. In doing this, I decided on a few design priorities:
- modern markup: CSS grid & flexbox all the way (sorry if you’re on an old version of IE)
- minimal markup: there’s really not many elements in each page (I wanted to
see how far I could push back against the
divsoup that’s so common these days)
- semantic markup: we have
aside, so let’s use them
Typography-wise, I used @rsms’s new Inter UI font family, and I really like it. I’m not a designer (as you can probably tell) so I kept it simple—one typeface, one highlight colour, and then I poke around with Sass’s colour manipulation functions to get a bit more variation.
The verdict: I was really pleasantly surprised—it came together in about a day of hard work. Next time around (i.e. now that I know what I’m doing a bit more) it’d be even easier. I particularly liked using grid template areas to draw a little ascii-art diagram of my desired layout. Obviously the layout for this blog is really boring, but I can imagine this being really handy for more complex layouts.
If it’s broken for you and you’re on a modern browser1, then please let me know and I’ll try to fix it if I can. I don’t think I’ve broken any (many) links, but again let me know if you find something I’ve missed.
The other thing I really like about this iteration of the annual
redesign is that I finally understand the whole thing. No more magic themes
which I hesitantly poke around in “eye-of-newt” style whenever I want to make
changes, and that’s a nice feeling2.
Let me know what you think of my new redesign in the comments. Just kidding—there are no comments. But do get in touch in some other way (see the icons at the top for various options).