Skip to content

Commit

Permalink
Merge pull request #5 from alshedivat/master
Browse files Browse the repository at this point in the history
feature: figure support url. (alshedivat#2586)
  • Loading branch information
kastnerp authored Oct 1, 2024
2 parents ee2cd91 + caddec2 commit 419cfbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/figure.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
>
{% endif %}
<img
src="{% if include.cache_bust %}{{ include.path | relative_url | bust_file_cache }}{% else %}{{ include.path | relative_url }}{% endif %}"
src="{% if include.url %}{{ include.url }}{% elsif include.cache_bust %}{{ include.path | relative_url | bust_file_cache }}{% else %}{{ include.path | relative_url }}{% endif %}"
{% if include.class %}
class="{{ include.class }}"
{% endif %}
Expand Down

0 comments on commit 419cfbe

Please sign in to comment.