]> danix's work - danix2-hugo-theme.git/commit
feat: add figure shortcode and documentation
authorDanilo M. <redacted>
Sun, 5 Apr 2026 07:34:21 +0000 (09:34 +0200)
committerDanilo M. <redacted>
Sun, 5 Apr 2026 07:34:21 +0000 (09:34 +0200)
commit043ec4b61363fe28b2d2d8ac9e17e9386bf7175d
tree4d650da608f1a03697d3aacaf76d916c08a0d2d0
parentc262af894a95d6473e3bf8a2f8c0c85caa6b3b8b
feat: add figure shortcode and documentation

Ported figure shortcode from previous theme. Wraps content in semantic <figure> element with optional title, caption, attribution, and link support.

Typical usage:
{{< figure caption="Image caption" attr="Photo by Someone" >}}
{{< img src="image.jpg" alt="Description" >}}
{{< /figure >}}

Also updated CONTENT_GUIDE with comprehensive usage examples and parameters.

Co-Authored-By: Claude Haiku 4.5 <redacted>
CONTENT_GUIDE.md
layouts/shortcodes/figure.html [new file with mode: 0644]