© 2023 Hashnode
#eleventy
Recently, I added first-paragraph post excerpts to this Eleventy blog's homepage post list. I found it wasn't easy. It wasn't all documented all in one place. Further, in order to use Markdown excerpts in HTML, I had to write a simple custo…
I've discussed building a now page using Eleventy but I also syndicate a subset of that content out to Mastodon using @11ty/eleventy-activity-feed and Make. The @11ty/eleventy-activity-feed allows you to aggregate various web feeds into a s…
I've relaunched, rebuilt and rewritten my personal blog more times than I can count and I've had a trail of posts I've never fully migrated at each turn. This weekend, while relaxing and watching movies I ported them into Eleventy and, in d…
In an effort to get away from client-side Javascript and embrace Eleventy for what it is (a static site generator), I've dropped my social-utils instance offline and my now-playing track display on my home page that still relied on it. To u…
As part of my commitment to writing about things I've written in other frameworks in Eleventy, this is how I re-engineered my /now page in Eleventy.[1] My /now page is a series of discreet sections — the Currently block is populated by data…
Eleventy is great. It’s a static site generator written in JavaScript, for “Fast Builds and even Faster Web Sites.” It’s 10 to 20 times faster than the alternatives, like Gatsby or Next.js. You get al…
Static site generators have become increasingly popular in recent years, and for good reason. They allow developers to build fast and secure websites without the need for a backend. One such static si…
In our last article we used external data to render posts on our site. If you noticed, we don't have that cool Previous/Next Post that was at the bottom of our posts before. Wouldn't it be nice to ha…
We are back again with more Eleventy. I said I would come back and explain and showcase some things when I understood them better. That time has arrived! To explain these concepts more clearly, I will…
Anchors are nothing but id attributes applied to an element to link to it using href attribute internally on the same page. By default, 11ty uses markdown-it library to parse markdown. But, it seems t…