diff options
author | mms <michal@sapka.me> | 2024-06-10 23:54:00 +0200 |
---|---|---|
committer | mms <michal@sapka.me> | 2024-06-10 23:54:00 +0200 |
commit | 0283631c43c46db04e21d5009552d4a9148938e3 (patch) | |
tree | cfbb2eefbc61b65c652b7f59eb92d673f167e80a /layouts/shortcodes/image.html | |
parent | 316cbea18afd0b630c0b8ab7b6c7820a6b41afd0 (diff) |
feat: web button
Diffstat (limited to 'layouts/shortcodes/image.html')
-rw-r--r-- | layouts/shortcodes/image.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/layouts/shortcodes/image.html b/layouts/shortcodes/image.html index d538fde..a03ded6 100644 --- a/layouts/shortcodes/image.html +++ b/layouts/shortcodes/image.html @@ -28,10 +28,11 @@ {{- $img_raw := $img.Resize $imgproc }} <!-- Resulting HTML --> -<figure> +<figure + class="{{ $class }}" +> <a href="{{ $img_raw.Permalink }}"> <img - class="{{ $class }}" alt="{{ $alt }}" src="{{ $img1x.Permalink }}" srcset=" |