feat: eleventy transform for images
This commit is contained in:
parent
243b1103e4
commit
7e1597b36a
36 changed files with 179 additions and 1262 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue