Skip to content

Commit

Permalink
template
Browse files Browse the repository at this point in the history
  • Loading branch information
markwkidd committed Dec 9, 2024
1 parent e8b5ad8 commit 4cbba19
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion _includes/embed_image.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
{% if include.caption %}
<figure class="caption-image {% if include.thumbnail %} third-size float-right{% endif %}">
{% endif %}
<img src="{{ site.baseurl }}{{ include.url }}" {% if include.alt %} alt="{{ include.alt }}" {% endif %} {% if include.width %} width="{{ include.width }}" {% endif %} {% if include.height %} height="{{ include.height }}" {% endif %} class="content-figure-image">
<img src="{{ site.baseurl }}{{ include.url }}"
{% if include.alt %}alt="{{ include.alt }}"{% endif %}
{% if include.width %}width="{{ include.width }}"{% endif %}
{% if include.height %}height="{{ include.height }}"{% endif %}
class="content-figure-image">
{% if include.caption %}
<figcaption>{{ include.caption }}</figcaption>
</figure>
Expand Down

0 comments on commit 4cbba19

Please sign in to comment.