summaryrefslogtreecommitdiffstats
path: root/_includes/image.html
diff options
context:
space:
mode:
authorSimone Bortolin <simonebortolin@users.noreply.github.com>2022-08-05 06:59:56 +0200
committerSimone Bortolin <simonebortolin@users.noreply.github.com>2022-12-19 22:55:58 +0100
commit04e593565d0f69ec54923fb66a167eecc48f6e50 (patch)
treea770cf7b174d3ba9c235d412b0449a40481394af /_includes/image.html
parentadd images (diff)
downloadhack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar.gz
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar.bz2
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar.lz
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar.xz
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.tar.zst
hack-gpon.github.io-04e593565d0f69ec54923fb66a167eecc48f6e50.zip
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>