Skip to content

Commit

Permalink
image template
Browse files Browse the repository at this point in the history
  • Loading branch information
markwkidd committed Feb 7, 2025
1 parent 117bd44 commit 2814b3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _includes/embed_image.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% if include.caption %}
<figure class="caption-image {% if include.thumbnail == "true" %} third-size float-right{%- endif -%}">
{%- endif -%}
<img src="{{ site.baseurl }}/{{ include.url }}" alt="{%- if include.alt -%}{{- include.alt -}}{%- else -%}WARNING: ALT TEXT NOT FOUND{%- endif -%}" class="content-figure-image {% if include.thumbnail == "true" and include.caption == null %} third-size float-right{%- endif -%}" style="{%- if include.width -%}{{ width: }}{{- include.width -}}{{- ; }}{%- endif -%}{%- if include.height -%}{{ height: }}{{- include.height -}}{{- ; }}{%- endif -%}">
<img src="{{ site.baseurl }}/{{ include.url }}" alt="{%- if include.alt -%}{{- include.alt -}}{%- else -%}WARNING: ALT TEXT NOT FOUND{%- endif -%}" class="content-figure-image {% if include.thumbnail == "true" and include.caption == null %} third-size float-right{%- endif -%}" style="{%- if include.width -%}width: {{- include.width -}};{%- endif -%}{%- if include.height -%}height: {{- include.height -}};{%- endif -%}">
{% if include.caption %}
<figcaption>{{-include.caption-}}</figcaption>
</figure>
Expand Down

0 comments on commit 2814b3c

Please sign in to comment.