summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authormms <michal@sapka.me>2024-06-10 22:01:04 +0200
committermms <michal@sapka.me>2024-06-10 22:01:04 +0200
commite8dd384c73b32a7e92ebe5f08c015f8ac1da78d0 (patch)
tree19137ca909423f6446d63766bab27eaddc01a2a4 /layouts/shortcodes
parent902dd210730f5e7bd537ce9ef7f2b9d91a0b7fb6 (diff)
feat: UH artwork
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/image.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html
index 2677b2c..d538fde 100644
--- a/layouts/shortcodes/image.html
+++ b/layouts/shortcodes/image.html
@@ -43,6 +43,7 @@
loading="lazy"
>
</a>
+ {{ if not (strings.Contains $caption "noop") }}
<figcaption>
{{ $caption }}
@@ -50,5 +51,6 @@
<a href="{{ $source }}" target="_blank" title="source">[source]</a>
{{ end }}
</figcaption>
+ {{ end }}
</figure>