Eleventy: custom markup alongside item contents
I’ve been working on something big that is scheduled to land on my blog soon and I encountered an interesting problem. I wanted to put a piece of HTML code in a selected place alongside the post content, preferably without client-side JavaScript. An hour later I arrived at a solution I deem good enough, but since it’s now living rent-free in my head and I’m a heartless landlord when it comes to my brain space, here goes.