chore: image shortcode

This commit is contained in:
Cory Dransfeldt 2024-02-21 07:10:46 -08:00
parent f5da3a1fae
commit b413f9ab16
No known key found for this signature in database
18 changed files with 107 additions and 58 deletions

View file

@ -37,7 +37,7 @@
'lazy'
{%- endif -%}
{%- endcapture -%}
<img src="{{ item.image }}" alt="{{ alt }}" loading="{{ loadingStrategy }}" />
{% image item.image, alt, '', loadingStrategy %}
</div>
</a>
{% endfor %}

View file

@ -1,6 +1,6 @@
<div class="webring__wrapper">
<div class="webring__centered flex--centered">
<img src="/assets/img/webrings/theclaw.png" alt="The Claw Webring" />
{% image './src/assets/img/webrings/theclaw.png', 'The Claw Webring' %}
</div>
<h3 class="text--centered">The Claw Webring</h3>
<div class="webring__centered flex--centered">