summaryrefslogtreecommitdiff
path: root/src/http/tpl/image.html
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
committerBrian Picciano <mediocregopher@gmail.com>2022-09-13 12:56:08 +0200
commit4f01edb9230f58ff84b0dd892c931ec8ac9aad55 (patch)
tree9c1598a3f98203913ac2548883c02a81deb33dc7 /src/http/tpl/image.html
parent5485984e05aebde22819adebfbd5ad51475a6c21 (diff)
move src out of srv, clean up default.nix and Makefile
Diffstat (limited to 'src/http/tpl/image.html')
-rw-r--r--src/http/tpl/image.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/http/tpl/image.html b/src/http/tpl/image.html
new file mode 100644
index 0000000..ba9b75d
--- /dev/null
+++ b/src/http/tpl/image.html
@@ -0,0 +1,5 @@
+<div style="text-align: center;">
+ <a href="{{ AssetURL .ID }}" target="_blank">
+ <img src="{{ AssetURL .ID }}{{ if .Resizable }}?w=800{{ end }}" />
+ </a>
+</div>