diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2023-01-19 16:02:27 +0100 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2023-01-19 16:02:27 +0100 |
commit | c23030733fe4cba578b14ad2c1d1292891202562 (patch) | |
tree | 05e200767b1a99e686dfcd18455e08fa977ebb56 /src/http/tpl/image.html | |
parent | e7b5b55f6718b25a437a891a06a26c21384b6818 (diff) |
Add support for gemtext posts
Diffstat (limited to 'src/http/tpl/image.html')
-rw-r--r-- | src/http/tpl/image.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/http/tpl/image.html b/src/http/tpl/image.html index ba9b75d..c6c19b3 100644 --- a/src/http/tpl/image.html +++ b/src/http/tpl/image.html @@ -1,5 +1,8 @@ <div style="text-align: center;"> <a href="{{ AssetURL .ID }}" target="_blank"> - <img src="{{ AssetURL .ID }}{{ if .Resizable }}?w=800{{ end }}" /> + <img + src="{{ AssetURL .ID }}{{ if .Resizable }}?w=800{{ end }}" + alt="{{ .Descr }}" + /> </a> </div> |