diff options
Diffstat (limited to 'src/http/tpl/image.html')
-rw-r--r-- | src/http/tpl/image.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/tpl/image.html b/src/http/tpl/image.html index c6c19b3..7778625 100644 --- a/src/http/tpl/image.html +++ b/src/http/tpl/image.html @@ -1,7 +1,7 @@ <div style="text-align: center;"> - <a href="{{ AssetURL .ID }}" target="_blank"> + <a href="{{ .RootURL.Asset .ID }}" target="_blank"> <img - src="{{ AssetURL .ID }}{{ if .Resizable }}?w=800{{ end }}" + src="{{ .RootURL.Asset .ID }}{{ if .Resizable }}?w=800{{ end }}" alt="{{ .Descr }}" /> </a> |