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 f0745f6 commit 0419406
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _includes/embed_image.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{% if include.caption %}
<figure class="caption-image {% if include.thumbnail %} third-size float-right{% endif %}">
<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 %}
{%- 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>
<figcaption>{{-include.caption-}}</figcaption>
</figure>
{% endif %}

0 comments on commit 0419406

Please sign in to comment.