Skip to content

Commit

Permalink
fix image preview w/ new macro
Browse files Browse the repository at this point in the history
  • Loading branch information
nsg committed Oct 6, 2024
1 parent 8904242 commit c84954b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion site/templates/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ <h2><a href="{{ page.permalink }}">{{ page.title }}</a></h2>
{% if paragraph | wordcount > 20 %}
{% if image_url %}
<a href="{{ page.permalink }}">
<img class="latest-image-preview" src="{{ image_url }}">
<img class="latest-image-preview" src="{{ image_url | safe }}">
</a>
{% endif %}
{{ paragraph | safe}}
Expand Down

0 comments on commit c84954b

Please sign in to comment.