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

@ -138,6 +138,6 @@ For this page in particular, the images that are rendered above the fold are set
All of these boilerplate steps leave us with a quick to load, accessible and resilient site:
<img src="https://cdn.coryd.dev/blog/page-speed.jpg" alt="Pagespeed scores for coryd.dev/now" class="image__banner" />
{% image 'https://cdn.coryd.dev/blog/page-speed.jpg', 'Pagespeed scores for coryd.dev/now', 'image__banner' %}
[^1]: It's easy, flexible and helps mitigate my lack of an eye for design by providing safe baselines.