summaryrefslogtreecommitdiffstats
path: root/templates/wormhole-success.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-09-08 08:56:40 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-09-08 08:58:21 -0700
commit735512086436dba4969107695ba7b93f09efce2e (patch)
tree7bf014884a5d655d4477def39c9f794c9037b4fa /templates/wormhole-success.html.template
parentUse /tmp/hole as the hole directory for local runs (diff)
downloadroseh.moe-735512086436dba4969107695ba7b93f09efce2e.tar.zst
Simplify the HTML templates by omitting end tags
Diffstat (limited to 'templates/wormhole-success.html.template')
-rw-r--r--templates/wormhole-success.html.template16
1 files changed, 7 insertions, 9 deletions
diff --git a/templates/wormhole-success.html.template b/templates/wormhole-success.html.template
index dbb997e..86d060c 100644
--- a/templates/wormhole-success.html.template
+++ b/templates/wormhole-success.html.template
@@ -1,10 +1,8 @@
-{{define "head"}}<title>Uploaded!</title>{{end}}
+<title>Uploaded!</title>
-{{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}}
+<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>