diff options
Diffstat (limited to 'templates/index.html.template')
| -rw-r--r-- | templates/index.html.template | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/templates/index.html.template b/templates/index.html.template index 1723ffb..fcb74b6 100644 --- a/templates/index.html.template +++ b/templates/index.html.template @@ -1,14 +1,16 @@ {{define "head"}}<title>roseh.moe</title>{{end}} -<div style="background-image:url(/static/index/stars.webp);background-repeat:repeat;height:500px;display:flex"> - <h1 style="margin:auto">roseh.moe</h1> -</div> +{{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> -<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="/games/">Games?</a></p> - <p><a href="/wormhole">Magic wormhole</a></p> -</section> + <p><a href="/games/">Games?</a></p> + <p><a href="/wormhole">Magic wormhole</a></p> + </section> +{{- end}} |
