aboutsummaryrefslogtreecommitdiff
path: root/themes/simple/layouts/_default/_markup
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-05-27 01:05:49 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-05-27 01:05:49 +0200
commiteb2cf9f9476473811178d1c5cfdd71a0293fdff4 (patch)
treeba9896eb3c174a0e8fb6864e5e87fa75bbd421dd /themes/simple/layouts/_default/_markup
parent8c88a575c0b7fc44c0c6918738bf8805b047c0be (diff)
downloadmitjafelicijan.com-eb2cf9f9476473811178d1c5cfdd71a0293fdff4.tar.gz
Github Actions note and better rendering of images
Diffstat (limited to 'themes/simple/layouts/_default/_markup')
-rw-r--r--themes/simple/layouts/_default/_markup/render-image.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/simple/layouts/_default/_markup/render-image.html b/themes/simple/layouts/_default/_markup/render-image.html
new file mode 100644
index 0000000..5da02eb
--- /dev/null
+++ b/themes/simple/layouts/_default/_markup/render-image.html
@@ -0,0 +1,8 @@
1<figure>
2 <a href="{{ .Destination }}" target="_blank">
3 <img
4 loading="lazy"
5 src="{{ .Destination }}"
6 alt="{{ .Text }}" title="{{ .Text }}">
7 </a>
8</figure>