favicon for site or author

Shiv J.M. 13 posts

Author: SHIV J.M. (13 posts)

I’m Shiv J.M., a software developer from India. I write about technology & software development (Technology); my work (Work); movies, shows, books & games (Thoughts & Spoilers); and whatever’s on my mind (Journal).

2025

Font Subsetting in Eleventy

eleventy-plugin-font-subsetting works fine but its configuration is finicky.

hire.shivjm.in: The Missing Cover Letter

I turned a blog entry into a profile of myself as a developer.

2024

eleventy-vite-plugin and the Output Directory

I tweaked the Eleventy output directory to get around the Vite plugin’s simple string comparison.

Categories
Responsive Images in HTML: w and x

w is more correct than x except in one scenario, which is going to be fixed, but the CSS must match.

Categories
Readable HTML and CSS

Instead of minifying HTML and CSS, I make it easy to read.

Keeping Out Dark Visitors

One short data file and one tiny template to block… er, dissuade all AI scrapers and crawlers.

2023

Farewell Netlify Large Media, Welcome eleventy-img

Not too complex once I had finished making my mistakes.

Categories

2021

Automatically Generated Social Media Images with HTML, CSS, Eleventy & Puppeteer

Prettier previews, built with many moving parts.

Categories
When to Use Pagination in Eleventy

Contrasting pagination and looping, with examples and a reference image.

Categories
How I Create an Article Series in Eleventy

Front matter, templates, collections, and JavaScript.

Categories
A Remarkable Discovery

I switched from markdown-it to remark and I’m much happier for it.

Categories
Archives & Permalinks

How I got the archive page permalinks right.

Categories

2020

How to Include PrismJS CSS Only When Required In Eleventy

How I set up Eleventy to avoid including unnecessary CSS.

Categories
Some content below may have been published before the release of Eleventy v3.0.0 (October 1, 2024). Information may have changed in newer versions. Current stable release: 3.12
Some content below may have been published before the release of Eleventy v2.0.0 (Feb 8, 2023). Information may have changed in newer versions. Current stable release: 3.12.
Some content below may have been published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.
All of the content below was published before the release of Eleventy v1.0.0 (Jan 8, 2022). Information may have changed in newer versions. Current stable release: 3.12.