Skip to content

Commit

Permalink
Create shared_image.html
Browse files Browse the repository at this point in the history
  • Loading branch information
mig281 authored Nov 9, 2023
1 parent 4aac669 commit db4eea5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions _includes/shared_image.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<figure>{% if {{include.url}} and site.output != "pdf" %}<span class="enlargeimage" data-url="{{include.url}}"><a target="_blank" rel="noopener" href="{{include.url}}">{% endif %}<img class="docimage" src="/images/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %}>{% if {{include.url}} and site.output != "pdf" %}</a></span>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption>{% endif %}</figure>

0 comments on commit db4eea5

Please sign in to comment.