From 86315cada2d2d37c93bd41869aedc92db0f36363 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sun, 5 Apr 2026 09:42:46 +0200 Subject: feat: import all remaining shortcodes from previous theme Added 11 additional shortcodes with complete documentation: Text formatting: - strike: strikethrough text - em: highlighted/marked text - dropcap: paragraph with decorative drop cap Container wrappers: - div / div-close: semantic div containers with classes Gallery: - gallery: gallery container - gal-img: gallery images (400px WebP thumbnail with link) Utility: - svg: inline SVG icons from assets/SVGs/ - actions: button-style action links - search: search form with results display - contact: comprehensive contact form All shortcodes now fully documented in CONTENT_GUIDE with usage examples and parameters. Co-Authored-By: Claude Haiku 4.5 --- layouts/shortcodes/gal-img.html | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 layouts/shortcodes/gal-img.html (limited to 'layouts/shortcodes/gal-img.html') diff --git a/layouts/shortcodes/gal-img.html b/layouts/shortcodes/gal-img.html new file mode 100644 index 0000000..0693319 --- /dev/null +++ b/layouts/shortcodes/gal-img.html @@ -0,0 +1,7 @@ +{{- $src := .Get "src" -}} +{{- $source := resources.Get $src -}} +{{- $alt := .Get "alt" -}} +{{- $icon := $source.Resize "400x webp" -}} + + {{ $alt }} + -- cgit v1.2.3