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/svg.html | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 layouts/shortcodes/svg.html (limited to 'layouts/shortcodes/svg.html') diff --git a/layouts/shortcodes/svg.html b/layouts/shortcodes/svg.html new file mode 100644 index 0000000..d042bb0 --- /dev/null +++ b/layouts/shortcodes/svg.html @@ -0,0 +1,5 @@ + +{{- $fname := print "SVGs/" ( .Get "name" ) ".svg" -}} +{{ $icon := resources.Get $fname }} +{{ $icon.Content | safeHTML }} + -- cgit v1.2.3