Skip to content

Commit

Permalink
update embed code
Browse files Browse the repository at this point in the history
  • Loading branch information
markwkidd committed Feb 10, 2025
1 parent 2da06e3 commit ec5f2c3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _includes/embed_image.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
{%- assign img-link = img-src -%}
{%- endif -%}

{% if include.caption %}
<figure class="image-figure {% if include.thumbnail == "true" %} thumbnail{%- endif -%}">
{%- endif -%}
{%- if img-link -%}
<a href="{{- img-link -}}">
{%- endif -%}
Expand All @@ -59,5 +57,5 @@
{%- endif -%}
{% if include.caption %}
<figcaption class="image-caption">{{-include.caption-}}</figcaption>
{%- endif -%}
</figure>
{%- endif -%}

0 comments on commit ec5f2c3

Please sign in to comment.