summaryrefslogtreecommitdiffstats
path: root/layouts/_partials/head.html
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-05 09:30:10 +0200
committerDanilo M. <danix@danix.xyz>2026-04-05 09:30:10 +0200
commit628be4b1e9ba1084b4949acdbf81b17bcde526ee (patch)
tree9032528c78754a871b93688fc055e4af1dafab30 /layouts/_partials/head.html
parentc76fa272cdde2f986cddd39b8bfe937aab497af4 (diff)
downloaddanixxyz-theme-628be4b1e9ba1084b4949acdbf81b17bcde526ee.tar.gz
danixxyz-theme-628be4b1e9ba1084b4949acdbf81b17bcde526ee.zip
feat: add img shortcode template
Ported img shortcode from previous theme. Creates responsive, optimized images with LQIP fade-in effect, WebP with JPEG fallback, and responsive srcsets. Requires imageSizes config in hugo.toml, e.g.: [params] imageSizes = [640, 900, 1200, 1600] Usage: {{< img src="path/to/image.jpg" alt="Description" >}} Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'layouts/_partials/head.html')
0 files changed, 0 insertions, 0 deletions