<imgsrc="/img/horsetail.jpg"alt="Image unrelated to post. Close up on a horsetail plant's stem, with many small needle-like leaves emerging from all sides of the circular stem at each segmented joint."loading="lazy"decoding="async"width="1000"height="666">
<h2id="comparing-text-editors">comparing text editors</h2>
<ulclass="postlist-tags">
<li>software</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/an-intro-to-git/">
@ -1132,22 +1146,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/dragon-mask/">
<imgsrc="/img/dragon-mask.jpg"alt="lee (a white person with glasses and a side shave) holds up a leather dragon mask in black and dark green. ze sticks hir tongue out at it."loading="lazy"decoding="async"width="1000"height="746">
<h2id="dragon-mask">dragon mask</h2>
<ulclass="postlist-tags">
<li>leather</li>
<li>highlight</li>
</ul>
</a>
</li>
</ol>
@ -1203,6 +1201,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/1/` was built on 2026-02-20T01:52:50.472Z -->
<!-- This page `/1/` was built on 2026-02-20T06:18:27.067Z -->
<imgsrc="/img/foxgloves-print.jpg"alt="A print of a cluster of foxgloves. The background is inked in green, with negative space and pink details making up the foxgloves."loading="lazy"decoding="async"width="1000"height="750">
<imgsrc="/img/baseball-journal.jpg"alt="A 3-part collage of a leather-covered book with baseball-style stitching across the spine."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="baseball-journal">baseball journal</h2>
<ulclass="postlist-tags">
<li>book</li>
</ul>
</a>
</li>
</ol>
@ -1219,6 +1223,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/10/` was built on 2026-02-20T01:52:54.328Z -->
<!-- This page `/10/` was built on 2026-02-20T06:18:30.751Z -->
<imgsrc="/img/baseball-journal.jpg"alt="A 3-part collage of a leather-covered book with baseball-style stitching across the spine."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="baseball-journal">baseball journal</h2>
<ulclass="postlist-tags">
<li>book</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/trans-wrongs-skull/">
@ -1166,22 +1180,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/hair/">
<imgsrc="/img/hair-print.jpg"alt="A print in black ink of belly hair."loading="lazy"decoding="async"width="1000"height="710">
<h2id="hair">hair</h2>
<ulclass="postlist-tags">
<li>print</li>
<li>gender</li>
</ul>
</a>
</li>
</ol>
@ -1237,6 +1235,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/11/` was built on 2026-02-20T01:52:54.553Z -->
<!-- This page `/11/` was built on 2026-02-20T06:18:31.061Z -->
<imgsrc="/img/hair-print.jpg"alt="A print in black ink of belly hair."loading="lazy"decoding="async"width="1000"height="710">
<h2id="hair">hair</h2>
<ulclass="postlist-tags">
<li>print</li>
<li>gender</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/flicker/">
@ -1158,24 +1174,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/congrats-on-the-gay/">
<imgsrc="/img/congrats-on-the-gay.jpg"alt="A greeting card reading, in black. 'Congrats on the,' and then, in rainbow, 'Gay!'"loading="lazy"decoding="async"width="1000"height="750">
<h2id="congrats-on-the-gay">congrats on the gay</h2>
<ulclass="postlist-tags">
<li>print</li>
<li>card</li>
<li>gender</li>
</ul>
</a>
</li>
</ol>
@ -1231,6 +1229,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/12/` was built on 2026-02-20T01:52:54.683Z -->
<!-- This page `/12/` was built on 2026-02-20T06:18:31.250Z -->
<imgsrc="/img/congrats-on-the-gay.jpg"alt="A greeting card reading, in black. 'Congrats on the,' and then, in rainbow, 'Gay!'"loading="lazy"decoding="async"width="1000"height="750">
<h2id="congrats-on-the-gay">congrats on the gay</h2>
<ulclass="postlist-tags">
<li>print</li>
<li>card</li>
<li>gender</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/lined-notebook/">
@ -1136,20 +1154,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/green-memo-pad/">
<imgsrc="/img/green-memo-pad.jpg"alt="A three panel collage showcasing a small green memo pad."loading="lazy"decoding="async"width="1000"height="1776">
<h2id="green-memo-pad">green memo pad</h2>
<ulclass="postlist-tags">
<li>book</li>
</ul>
</a>
</li>
</ol>
@ -1205,6 +1209,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/13/` was built on 2026-02-20T01:52:54.928Z -->
<!-- This page `/13/` was built on 2026-02-20T06:18:31.407Z -->
<imgsrc="/img/green-memo-pad.jpg"alt="A three panel collage showcasing a small green memo pad."loading="lazy"decoding="async"width="1000"height="1776">
<imgsrc="/img/dragon-mask.jpg"alt="lee (a white person with glasses and a side shave) holds up a leather dragon mask in black and dark green. ze sticks hir tongue out at it."loading="lazy"decoding="async"width="1000"height="746">
<imgsrc="/img/azure-locations.jpg"alt="A Linux terminal. There is a fun rainbow flag in ascii art at the top, and then the user has called a command asking Azure for a list of resources applicable to a specific resource type"loading="lazy"decoding="async"width="1000"height="827">
<h2id="azure-locations-and-file-crawling">azure locations and file crawling</h2>
<ulclass="postlist-tags">
<li>software</li>
<li>highlight</li>
</ul>
</a>
</li>
</ol>
@ -1207,6 +1207,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/2/` was built on 2026-02-20T01:52:52.022Z -->
<!-- This page `/2/` was built on 2026-02-20T06:18:28.580Z -->
<imgsrc="/img/azure-locations.jpg"alt="A Linux terminal. There is a fun rainbow flag in ascii art at the top, and then the user has called a command asking Azure for a list of resources applicable to a specific resource type"loading="lazy"decoding="async"width="1000"height="827">
<h2id="azure-locations-and-file-crawling">azure locations and file crawling</h2>
<ulclass="postlist-tags">
<li>software</li>
<li>highlight</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/fix-your-hearts/">
@ -1144,20 +1160,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/lobstah/">
<imgsrc="/img/lobstah.jpg"alt="Two red leather lobster ornaments, about 4-5 in long each."loading="lazy"decoding="async"width="1000"height="750">
<h2id="lobstah">lobstah</h2>
<ulclass="postlist-tags">
<li>leather</li>
</ul>
</a>
</li>
</ol>
@ -1213,6 +1215,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/3/` was built on 2026-02-20T01:52:52.399Z -->
<!-- This page `/3/` was built on 2026-02-20T06:18:28.943Z -->
<imgsrc="/img/lobstah.jpg"alt="Two red leather lobster ornaments, about 4-5 in long each."loading="lazy"decoding="async"width="1000"height="750">
<h2id="lobstah">lobstah</h2>
<ulclass="postlist-tags">
<li>leather</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/greeting-quorbs/">
@ -1134,20 +1148,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/tiny-portraits/">
<imgsrc="/img/tiny-portrait-stamps.jpg"alt="A collage showing various small (around an inch) stamps that depict people or animals."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="tiny-portraits">tiny portraits</h2>
<ulclass="postlist-tags">
<li>print</li>
</ul>
</a>
</li>
</ol>
@ -1203,6 +1203,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/4/` was built on 2026-02-20T01:52:52.732Z -->
<!-- This page `/4/` was built on 2026-02-20T06:18:29.245Z -->
<imgsrc="/img/tiny-portrait-stamps.jpg"alt="A collage showing various small (around an inch) stamps that depict people or animals."loading="lazy"decoding="async"width="1000"height="1000">
<imgsrc="/img/foldy-thumb-slide.jpg"alt="A card wallet with one main pocket and one quick access slot with a thumb slide. The cover of the main pocket curves around the thumb slide."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="foldy-wallet-with-thumb-slide">foldy wallet with thumb slide</h2>
<ulclass="postlist-tags">
<li>leather</li>
</ul>
</a>
</li>
</ol>
@ -1205,6 +1205,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/5/` was built on 2026-02-20T01:52:53.010Z -->
<!-- This page `/5/` was built on 2026-02-20T06:18:29.439Z -->
<imgsrc="/img/foldy-thumb-slide.jpg"alt="A card wallet with one main pocket and one quick access slot with a thumb slide. The cover of the main pocket curves around the thumb slide."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="foldy-wallet-with-thumb-slide">foldy wallet with thumb slide</h2>
<imgsrc="/img/trans-rights-and-wrongs-pins.jpg"alt="Two hard enamel pins in my trans rights and trans wrongs skulls designs."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="pins">pins!</h2>
<ulclass="postlist-tags">
<li>pin</li>
</ul>
</a>
</li>
</ol>
@ -1211,6 +1211,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/6/` was built on 2026-02-20T01:52:53.283Z -->
<!-- This page `/6/` was built on 2026-02-20T06:18:29.756Z -->
<imgsrc="/img/trans-rights-and-wrongs-pins.jpg"alt="Two hard enamel pins in my trans rights and trans wrongs skulls designs."loading="lazy"decoding="async"width="1000"height="1000">
<h2id="pins">pins!</h2>
<ulclass="postlist-tags">
<li>pin</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/mousie/">
@ -1136,20 +1150,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/bag-strap/">
<imgsrc="/img/bag-strap.jpg"alt="A nylon webbing shoulder strap in bright teal with clips on each end."loading="lazy"decoding="async"width="1000"height="750">
<h2id="bag-strap">bag strap</h2>
<ulclass="postlist-tags">
<li>leather</li>
</ul>
</a>
</li>
</ol>
@ -1205,6 +1205,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/7/` was built on 2026-02-20T01:52:53.616Z -->
<!-- This page `/7/` was built on 2026-02-20T06:18:30.059Z -->
<imgsrc="/img/bag-strap.jpg"alt="A nylon webbing shoulder strap in bright teal with clips on each end."loading="lazy"decoding="async"width="1000"height="750">
<h2id="bag-strap">bag strap</h2>
<ulclass="postlist-tags">
<li>leather</li>
</ul>
</a>
</li>
<liclass="post">
<aclass="postlink"href="/artists-conk/">
@ -1132,20 +1146,6 @@ footer a:focus-visible {
</a>
</li>
<liclass="post">
<aclass="postlink"href="/leather-chest-harness/">
<imgsrc="/img/leather-chest-harness.jpg"alt="Someone from chin to mid-torso, wearing a dark teal leather chest harness with matte black fittings over a t shirt."loading="lazy"decoding="async"width="1000"height="750">
<imgsrc="/img/leather-chest-harness.jpg"alt="Someone from chin to mid-torso, wearing a dark teal leather chest harness with matte black fittings over a t shirt."loading="lazy"decoding="async"width="1000"height="750">
<imgsrc="/img/foxgloves-print.jpg"alt="A print of a cluster of foxgloves. The background is inked in green, with negative space and pink details making up the foxgloves."loading="lazy"decoding="async"width="1000"height="750">
<h2id="foxgloves">foxgloves</h2>
<ulclass="postlist-tags">
<li>print</li>
<li>card</li>
<li>shirt</li>
</ul>
</a>
</li>
</ol>
@ -1249,6 +1245,6 @@ footer a:focus-visible {
</footer>
<!-- This page `/9/` was built on 2026-02-20T01:52:54.020Z -->
<!-- This page `/9/` was built on 2026-02-20T06:18:30.443Z -->
<contenttype="html"><p>recently I wrote <em>several</em> sites using <a href="https://www.11ty.dev/" target="_blank" rel="external">Eleventy</a> (4? 5?). Including, over the past few days, this one! That's right, if you're reading this, we're now running on 11ty and hosted by <a href="https://heckin.technology/" target="_blank" rel="external">heckin.technology</a>. See ya, GitHub. Won't miss ya.</p>
<p>I've compiled some of the things I've learned in a standalone site: <a href="https://inherentlee.codeberg.page/lessons/" target="_blank" rel="external">11ty Lessons</a>.</p>
<p>however, since I don't know how much I'll focus on that specific site - it is mostly a sample - I am re-publishing the most useful information here. I'll skip the intro to Markdown content. I'm also going to update them where I've learned more or to better match what's represented on this site.</p>
<p>this will comprise of 4 parts: <a href="https://leecat.art/eleventy-lessons/#related-posts">related posts</a>, <a href="https://leecat.art/eleventy-lessons/#featured-images">featured images</a>, <a href="https://leecat.art/eleventy-lessons/#pagination">pagination</a>, and <a href="https://leecat.art/eleventy-lessons/#tag-image-preview">tag image preview</a>. Feel free to jump ahead, as none depend on the others.</p>
<p>by default, the <a href="https://leecat.art/eleventy-lessons/github.com/11ty/eleventy-base-blog" target="_blank" rel="external">Eleventy base blog</a> comes with pagination between posts. Post 2 can take you to posts 1 and 3, etc.</p>
<p>while that is useful for <em>this</em> site, when building another site I wanted to see a couple randomly-suggested posts that shared 1 or more tags.</p>
<p>I started by referring to <a href="https://github.com/11ty/eleventy/discussions/2534" target="_blank rel=external&quot;">this GitHub issue about related posts</a>. I had to fix a few errors that arose from the suggested code.</p>
<p>I also wanted to make two changes:</p>
<ol>
<li>I didn't want to just see posts that shared <em>all</em> tags, but rather posts that shared <em>any</em> tag</li>
<li>I wanted to randomly add a few posts instead of just getting whatever was first (with a shared tag) in the post order</li>
<p>I used this in my post layout. <code>filterTagList</code> comes with the base blog by default, and removes the tags &quot;posts&quot; and &quot;all.&quot; <code>head</code> also comes with the base blog. <code>postlist.njk</code> is my modified-from-the-base-blog post layout.</p>
<pre class="language-html"><code class="language-html">{% set relevantTags = tags | filterTagList %}
<p>this one's been edited from the lessons site. I've learned a bit more about 11ty images and feel more comfortable with my build now.</p>
</blockquote>
<p>images in 11ty use the <a href="https://www.11ty.dev/docs/plugins/image/#eleventy-transform" target="_blank" rel="external">Image Transform Plugin</a>. I found it hard to find anything to reference while building this - a lot of sites in the template gallery are either text-heavy or not using the plugin - so I'm reproducing what I've got here for reference.</p>
<p>for any given post, my front matter references the image in this manner:</p>
<pre><code>---
image:
src: sample-0.jpg
alt: moss on a fencepost
---
</code></pre>
<h3 id="image-html-transform">image HTML transform</h3>
<p>As mentioned, there's a plugin for images. If you started with the base blog, in <code>eleventy.config.js</code>, you'll probably find a chunk of code similar to this already in place:</p>
<p>setting <code>formats</code> to &quot;auto&quot; helps - use whatever type of image you want, get that type out. The default settings that came with the Eleventy base blog didn't set a <code>width</code>, which I wanted (by default, images off my camera - like the hellebore featured image for this post - are almost 5k pixels wide). I also found it helpful to set <code>failOnError</code> to true for a little more feedback.</p>
<blockquote>
<p>NOTE: It sure seems like Eleventy will fail your image processing if there's no alt text. While admirable, it would be nice if I could find any documentation for this!</p>
<p>I needed images to show up in 3 places:</p>
<ul>
<li>In the lists of posts on the home page, I wanted each post to show its featured image</li>
<li>In the &quot;related posts&quot; section on each individual post, I wanted each related post to show its featured image</li>
<li>And of course, I wanted the post to show its own featured image</li>
</ul>
<h3 id="home-page-and-related-posts">home page and related posts</h3>
<p>both of these sections use the same template, which in my setup is called <code>postlist.njk</code>. Within the relevant links, I added the following:</p>
<pre class="language-html"><code class="language-html">{% if post.data.image.src %}
<p><a href="https://www.11ty.dev/docs/pagination/" target="_blank" rel="external">Post pagination in Eleventy is pretty straightforward</a>, mostly requiring some specific front matter.</p>
<p>The home page pagination I have set up here looks like the following (in <code>index.njk</code>):</p>
<pre><code>---
pagination:
data: collections.posts
size: 13
alias: posts
reverse: true
---
</code></pre>
<p>6 posts per page, paginate data from <code>collections.posts</code> which we'll call just <code>posts</code> for short, and do it in reverse (aka, most recent posts show first).</p>
<p><a href="https://www.11ty.dev/docs/pagination/nav" target="_blank" rel="external">You'll also likely want previous and next buttons</a>. I did. Here's what I have...</p>
<p>There's two components to this, the bigger one being this <code>pagination.njk</code> template. Look, I like my little icons, ok? It takes an <code>olderHref</code> and a <code>newerHref</code>, and optionally an <code>olderTitle</code> and <code>newerTitle</code>.</p>
<pre class="language-html"><code class="language-html">{% if olderHref or newerHref %}
<p>however, there's a catch. <a href="https://www.11ty.dev/docs/quicktips/tag-pages/" target="_blank" rel="external">Tag pages are <em>created</em> via pagination</a>! It's a lot harder to paginate those - you can't just use the front matter to set it up.</p>
<p>I untangled <a href="https://github.com/11ty/eleventy/issues/332#issuecomment-445236776" target="_blank" rel="external">this GitHub issue about double-layered pagination</a> and came to the following solution...</p>
<pre class="language-js"><code class="language-js"><span class="token comment">// note that this uses the lodash.chunk method, so you’ll have to import that</span>
{% include "pagination.njk" %}</code></pre>
<p>note the pagination checking <code>tag.pageNumber</code> against <code>tag.PageSize</code> - the <a href="https://github.com/11ty/eleventy/issues/332#issuecomment-445236776" target="_blank" rel="external">original suggested solution</a> in the GitHub post creates an issue where the pagination loops through <em>all</em> of the tag pages bit-by-bit. This sorts that - hat tip to <a href="https://github.com/11ty/eleventy/issues/332#issuecomment-1248185406" target="_blank" rel="external">TheReyzar who mentioned the issue and showed part of their solution</a>.</p>
<p>finally, in my <code>filters.js</code> file, I add the <code>tagPagination</code> tag to the tags that get filtered using <code>filterTagList</code>:</p>
<p>today I tackled making the tag page more visually interesting.</p>
<h3 id="preview-the-first-featured-image">preview the first featured image</h3>
<p>first, I worked on previewing the first featured image. The focus here is on digging into <code>collections[tag]</code> (reversed!) to get to the data of the first post.</p>
<h3 id="preview-a-collage-of-recent-featured-images">preview a collage of recent featured images</h3>
<p>I found that having just the first featured image made the tag page hard to differentiate from any of the pages listing individual posts, so from there I moved to showing 4 images (or empty rectangles where there weren't four to show).</p>
<p>this had worked so far because the photos on the lessons site are from my camera in landscape mode, producing neat, identical 3:2 aspect ratios. Let's throw a wrench in that and introduce a portrait-mode photo.</p>
<p>thankfully, the CSS property <code>aspect-ratio</code> makes this pretty straightforward, and <code>object-fit</code> finishes the job.</p>
<p>(I also set the <code>missing-img</code><code>&lt;div&gt;</code>s to have the same aspect ratio.)</p>
<hr>
<p>There's the good stuff from <a href="https://inherentlee.codeberg.page/lessons/" target="_blank" rel="external">11ty Lessons</a>. Hope you enjoyed.</p>
<p>recently, I've been working on a <a href="https://inherentlee.codeberg.page/spoonfairies/" target="_blank" rel="external">website for a project called spoonfairies</a>. On the providers page, we list a series of names along with their pronouns, location, and services offered. Visually, it looks like this:</p>
@ -70,13 +371,6 @@
<p>now, after more screen reader testing, it reads out smoothly. The <code>aria-label</code> precludes the actual link text and cleanly says what needs to be said, with nothing breaking up the text and the whole thing easily recognized as one link. <em>And</em> I've got my fancy styling. Sweet.</p>
<!-- This page `/give-to-trans-orgs-and-people/` was built on 2026-02-20T01:52:49.461Z -->
<!-- This page `/give-to-trans-orgs-and-people/` was built on 2026-02-20T06:18:26.064Z -->
<body>
</body></body>
Some files were not shown because too many files have changed in this diff
Show More
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.