summaryrefslogtreecommitdiff
path: root/src/http/tpl/image.html
blob: 2484e4ce35a5c99a3a7df69e31f65da0afdb6549 (plain)
1
2
3
4
5
6
7
8
9
<div style="text-align: center;">
  <a href="{{ .RootURL.Asset .ID }}" target="_blank">
    <img
      src="{{ .RootURL.Asset .ID }}{{ if .Resizable }}?w=800{{ end }}"
      alt="{{ .Descr }}"
      style="width: 800px;"
      />
  </a>
</div>