summaryrefslogtreecommitdiffstats
path: root/templates/wormhole-success.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/wormhole-success.html.template')
-rw-r--r--templates/wormhole-success.html.template14
1 files changed, 8 insertions, 6 deletions
diff --git a/templates/wormhole-success.html.template b/templates/wormhole-success.html.template
index a957173..dbb997e 100644
--- a/templates/wormhole-success.html.template
+++ b/templates/wormhole-success.html.template
@@ -1,8 +1,10 @@
{{define "head"}}<title>Uploaded!</title>{{end}}
-<div style="display:flex;flex-direction:column;align-items:center;font-size:50px">
- <p><a href="{{.URL}}">{{.URL}}</a></p>
- <img src="{{.QR}}" alt="QR code for {{.URL}}" width="500px">
- <p>Uploaded!</p>
- <img src="/static/tohru.webp" alt="An energetic dragon maid">
-</div>
+{{define "body" -}}
+ <div style="display:flex;flex-direction:column;align-items:center;font-size:50px">
+ <p><a href="{{.URL}}">{{.URL}}</a></p>
+ <img src="{{.QR}}" alt="QR code for {{.URL}}" width="500px">
+ <p>Uploaded!</p>
+ <img src="/static/tohru.webp" alt="An energetic dragon maid">
+ </div>
+{{- end}}