Skip to content

Commit

Permalink
docs: improve examples of blurry_image
Browse files Browse the repository at this point in the history
  • Loading branch information
johnfraney committed Apr 28, 2024
1 parent 896ffaa commit 63bc383
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/templates/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ It does a few things:
Basic example:

```jinja
{% blurry_image page.thumbnailUrl, alt="Image description" %}
{% blurry_image page.image, alt=page.name + " image" %}
```

Example with explicit width (image with this width must be present in the build folder):

```jinja
{% blurry_image page.thumbnailUrl, 250, id="image-id", class="responsive-image", loading="lazy" %}
{% blurry_image page.image, 250, alt=page.name + " image", id="image-id", class="responsive-image", loading="lazy" %}
```

0 comments on commit 63bc383

Please sign in to comment.