Anyone notice that the featured images on post headers seemed to be a bit… well, bad? So did I, and I only just realized why that actually happens. And ironically, it was in the name of improvements. Luckily, with a little help from an upscaling AI, that’s not as bad of a problem, for now.Continue reading
By default, the Markdown renderer in Hugo, at this point in time, is Goldmark, a CommonMark compliant renderer.
CommonMark makes no provisions for manually specifying the
height of an image.
There’s various extensions, like those for Pandoc, Kramdown, and GFM
, but Goldmark doesn’t support those.
Google is getting a little cranky with the amount of CLS
on some pages, especially on mobile, so it’s a good idea for me to start specifying sizes for most images.
How should I do this? By hacking it on as a feature that is in no way the intended use for anything involved.
If you remember when I first added the Medium Zoom library, I wasn’t using one of its features: the ability to load a larger image when the user clicks to zoom in, only when the user wants to zoom in.
However, I added this later, and in that, the method I used was to use a Hugo shortcode to include the image with proper attributes in the
Well as it turns out, I don’t need to do this.
Now, I can have that happen automatically with standard Markdown
Now I know I’ve talked about sitemap.xml before, but quick summary: that’s an XML file that has a list of every (public) URL on your site, to make it easier for crawlers to index your entire site since that list (or, map) lays it out. Well as an XML file, it can take XML style sheets, in a format called XSLT, short for XSL Transformations, short for eXtensible Stylesheet Language. Yes, it’s XML all the way down. But, if you’ve looked at my sitemap, you’ll see I’ve gone and done it. This is how.Continue reading
So if you’ve tried enterprise log management systems, you’ve likely heard of Syslog. If you haven’t, Syslog, is, well, a protocol designed to allow multiple hosts to send their system logs over the network to some other server where they can be analyzed and stored. It’s another one of those weird UDP protocols, and this one is actually stupid simple, even in both of the commonly used forms! Oh, we’ll also cover the one piece of software that I use that handles Syslog — Graylog, which by itself is also really cool.Continue reading
Now you might not see this too much since I plan to use the feature sparingly, categories and tags are both capable of sorting everything to a satisfactory level, but I’m using this thing that I just made to add extra little labels, which have a few cool uses.Continue reading
First: Yeah… new year, long time no see, I get it. I’ve been working on a lot of things here, as well as, well, work, since bills need to get paid, all that fun stuff. Hopefully I can get that all sorted out soon, and I have a massive backlog of things to put up. But for now, we’re starting with this.
In my various other posts, you might have picked up on the fact that I’m a Nikon person. And until now, all product shots you’ve seen here, from item galleries, to Hackintosh shots1, it’s all been off that camera. Until now.Continue reading
A first for me, this post is going to come in two parts. This one will cover the tech behind everything, and the second will actually be a new network tour. I’ve finally finished one of the biggest, if not the biggest project I’ve undertaken in a while: overhauling pretty much my entire network.Continue reading