From 742d2b9666d9aa403f518f31f11572ebe7c6540b Mon Sep 17 00:00:00 2001 From: Lee Cattarin Date: Thu, 20 Aug 2026 17:21:42 -0700 Subject: [PATCH] fix errors in 11ty lessons post --- src/posts/2026/2026-02-19-eleventy-lessons.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/posts/2026/2026-02-19-eleventy-lessons.md b/src/posts/2026/2026-02-19-eleventy-lessons.md index 8f0eaebe..9a21078f 100644 --- a/src/posts/2026/2026-02-19-eleventy-lessons.md +++ b/src/posts/2026/2026-02-19-eleventy-lessons.md @@ -179,7 +179,7 @@ the post body looks similar: {% raw %} ```html {% if image.src %} -{{ image.alt }} +{{ image.alt }} {% endif %} ``` {% endraw %} @@ -360,7 +360,7 @@ first, I worked on previewing the first featured image. The focus here is on dig {% set tagRecent = collections[tag] | reverse %} {% if tagRecent[0].data.image.src %} - {{ tagRecent[0].data.image.alt }} + {{ tagRecent[0].data.image.alt }} {% else %}
{% endif %} @@ -389,7 +389,7 @@ I found that having just the first featured image made the tag page hard to diff {% set tagRecent = collections[tag] | reverse %} {% for i in range(0, 4) %} {% if tagRecent[i].data.image.src %} - {{ tagRecent[i].data.image.alt }} + {{ tagRecent[i].data.image.alt }} {% else %}
{% endif %}