Add image render hook to show alt text as tooltips

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Eric Wagoner
2026-02-03 22:44:27 -05:00
parent 1633f977e8
commit 37c513adb4

View File

@@ -0,0 +1 @@
<img src="{{ .Destination | safeURL }}" alt="{{ .Text }}"{{ with .Title }} title="{{ . }}"{{ else }} title="{{ $.Text }}"{{ end }} />