Add photoswipe captions

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-14 19:30:36 +03:00
parent 2200d995ce
commit 140a6b938e
8 changed files with 80 additions and 11 deletions

View File

@@ -3,8 +3,10 @@
<figure class="captioned-image lightbox">
<a
href="{{- .RelPermalink -}}"
data-pswp-src="{{- .RelPermalink -}}"
data-pswp-width="{{- .Width -}}"
data-pswp-height="{{- .Height -}}"
class="pswp-image"
>
<img
src="{{- .RelPermalink -}}"