diff options
| author | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-08 08:56:40 -0700 |
|---|---|---|
| committer | Rose Hogenson <rosehogenson@posteo.net> | 2026-09-08 08:58:21 -0700 |
| commit | 735512086436dba4969107695ba7b93f09efce2e (patch) | |
| tree | 7bf014884a5d655d4477def39c9f794c9037b4fa /templates/index.html.template | |
| parent | Use /tmp/hole as the hole directory for local runs (diff) | |
| download | roseh.moe-735512086436dba4969107695ba7b93f09efce2e.tar.zst | |
Simplify the HTML templates by omitting end tags
Diffstat (limited to 'templates/index.html.template')
| -rw-r--r-- | templates/index.html.template | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/templates/index.html.template b/templates/index.html.template index 45f4224..ed882e0 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -1,17 +1,15 @@ -{{define "head"}}<title>roseh.moe</title>{{end}} +<title>roseh.moe</title> -{{define "body" -}} - <div style="background-image:url(/static/index/stars.webp);background-repeat:repeat;height:500px;display:flex"> - <h1 style="margin:auto">roseh.moe</h1> - </div> +<div style="background-image:url(/static/index/stars.webp);background-repeat:repeat;height:500px;display:flex"> + <h1 style="margin:auto">roseh.moe</h1> +</div> - <section> - <div style="display:flex"> - <img src="/static/index/kanna.webp" alt="A dragon loli" style="border-radius:50%;margin:-145px auto 20px"> - </div> +<section> + <div style="display:flex"> + <img src="/static/index/kanna.webp" alt="A dragon loli" style="border-radius:50%;margin:-145px auto 20px"> + </div> - <p><a href="https://code.roseh.moe">Projects</a></p> - <p><a href="/games/">Games?</a></p> - <p><a href="/wormhole">Magic wormhole</a></p> - </section> -{{- end}} + <p><a href="https://code.roseh.moe">Projects</a> + <p><a href="/games/">Games?</a> + <p><a href="/wormhole">Magic wormhole</a> +</section> |
