fix errors in 11ty lessons post
continuous-integration/drone/push Build is passing

This commit is contained in:
2026-08-20 17:21:42 -07:00
parent 3ff187ae10
commit 742d2b9666
@@ -179,7 +179,7 @@ the post body looks similar:
{% raw %}
```html
{% if image.src %}
<img class="featured-img" src="/posts/img/{{ image.src }}" alt="{{ image.alt }}">
<img class="featured-img" src="/img/{{ image.src }}" alt="{{ image.alt }}">
{% endif %}
```
{% endraw %}
@@ -360,7 +360,7 @@ first, I worked on previewing the first featured image. The focus here is on dig
<a href="{{ tagUrl }}" class="taglist-link">
{% set tagRecent = collections[tag] | reverse %}
{% if tagRecent[0].data.image.src %}
<img src="/posts/img/{{ tagRecent[0].data.image.src }}" alt="{{ tagRecent[0].data.image.alt }}">
<img src="/img/{{ tagRecent[0].data.image.src }}" alt="{{ tagRecent[0].data.image.alt }}">
{% else %}
<div class="missing-image"></div>
{% 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 %}
<img src="/posts/img/{{ tagRecent[i].data.image.src }}" alt="{{ tagRecent[i].data.image.alt }}">
<img src="/img/{{ tagRecent[i].data.image.src }}" alt="{{ tagRecent[i].data.image.alt }}">
{% else %}
<div class="missing-image"></div>
{% endif %}