Files
tsuki/layouts/_markup/render-image.html
T
tiennm99 5f10e72b47 feat(a11y): skip-link, focus rings, render hooks, giscus paint fix
Add skip-to-content link, enhance focus indicators, implement custom render
hooks for links and images, fix giscus dark mode paint issue.
2026-05-09 09:32:21 +07:00

6 lines
234 B
HTML

{{- /* In-content images get loading="lazy" + decoding="async" by default. */ -}}
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}" loading="lazy" decoding="async"
{{- with .Title }} title="{{ . }}"{{ end -}}
>
{{- /**/ -}}