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/404.jpg
{% endcapture %}
<style>{{ css }}</style>
<div class="four-oh-four__wrapper">
{% capture fallbackIcon %}{% tablericon "photo" title %}{% endcapture %}
{% image './src/assets/img/404.jpg', title, 'image__banner', 'eager', 'banner', fallbackIcon %}
<img src="/assets/img/404.jpg" alt="404 image — oops!" class="image__banner" />
<div class="text-center">
<h2 class="page__header">{{ title }}</h2>
<h3>What kind of idiots do you have working here?</h3>