Short hand for Today I Learned (TIL). An archive of learnings captured for educational purposes and posterity.
Adding last modified timestamps with Git
Today I learned how to automatically add last modified dates to Markdown files used by static site generators like Jekyll and Gatsby.
Faster Netlify builds
Slowly but surely, I’ve been chipping away at my site’s build time on Netlify. There’s little left for me to optimize until Jekyll drops some nice updates in version 4.
Styling language specific code blocks with Jekyll
Interesting styling possibilities with Kramdown syntax highlighted code blocks in Jekyll.
Accessing static files in Jekyll
Learn how to use static files with Jekyll to create a gallery of images automatically without a plugin.
HTML inside Kramdown table cells with Jekyll
The question of how to write a list inside of a table cell with Kramdown recently came up in a thread on Jekyll Talk — prompting me to look for a solution.
Configuring publishing sources for GitHub Pages
You know what sucks? Maintaining two separate branches of an open source project, just to host its source code and documentation together with GitHub Pages.
Oil pastels are not pencils
Not to overstate the obvious here, but oil pastels do not behave like colored pencils…
CSS blur effect
Playing with the new Depth Effect (aka fauxkeh) on my iPhone 7 Plus got me thinking about Gaussian blurs, and how to improve their use on this site.
Using SSI to detect cookies
In my never ending quest to micro-optimize the hell out of my site, I ran into a snag when trying to use SSI directives to improve the loading of critical CSS and cached stylesheets.