feat: eleventy transform for images

This commit is contained in:
Cory Dransfeldt 2024-02-13 15:28:28 -08:00
parent 243b1103e4
commit 7e1597b36a
No known key found for this signature in database
36 changed files with 179 additions and 1262 deletions

View file

@ -9,8 +9,7 @@ image: /assets/img/pages/uses.jpg
Software and services that I use for work and my own enjoyment.
{% capture fallbackIcon %}{% tablericon "photo" "My desk" %}{% endcapture %}
{% image 'https://coryd.dev/assets/img/pages/uses.jpg', 'My desk', 'image__banner', 'eager', 'banner', fallbackIcon %}
<img src="https://coryd.dev/assets/img/pages/uses.jpg" alt="My desk" class="image__banner" />
<h3>Computer setup</h3>