summaryrefslogtreecommitdiffstats
path: root/_includes/image.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/image.html')
-rw-r--r--_includes/image.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/_includes/image.html b/_includes/image.html
new file mode 100644
index 0000000..6389d3a
--- /dev/null
+++ b/_includes/image.html
@@ -0,0 +1 @@
+<figure>{% if {{include.url}} %}<a class="no_icon" target="_blank" rel="noopener" href="{{include.url}}">{% endif %}<img class="docimage" src="../assets/img/{{include.file}}" alt="{{include.alt}}" {% if {{include.max-width}} %}style="max-width: {{include.max-width}}px"{% endif %} />{% if {{include.url}} %}</a>{% endif %}{% if {{include.caption}} %}<figcaption>{{include.caption}}</figcaption>{% endif %}</figure>