summaryrefslogtreecommitdiffstats
path: root/templates/index.html.template
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2024-10-23 17:51:50 -0700
committerRose Hogenson <rosehogenson@posteo.net>2024-10-23 17:51:50 -0700
commitc206dc3f77135ea0fc3a66597567d7d66335141e (patch)
tree11a36df2bf7a0a8366c4e17a44554b05d57ff91f /templates/index.html.template
parent9c7895f5cdd27aeadcaa7128682a047cfc4fb3f8 (diff)
downloadroseh.moe-c206dc3f77135ea0fc3a66597567d7d66335141e.tar.zst
Get rid of <center>
Apparently it's deprecated or something. What the fuck is a flex box?
Diffstat (limited to 'templates/index.html.template')
-rw-r--r--templates/index.html.template16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/index.html.template b/templates/index.html.template
index 43e35f9..4737e3d 100644
--- a/templates/index.html.template
+++ b/templates/index.html.template
@@ -1,19 +1,19 @@
{{define "title"}}roseh.moe{{end}}
-<div style="background-image:url(/static/index/stars.gif);background-repeat:repeat;height:500px;display:flex;justify-content:center;align-items:center">
- <h1>roseh.moe</h1>
+<div style="background-image:url(/static/index/stars.gif);background-repeat:repeat;height:500px;display:flex">
+ <h1 style="margin:auto">roseh.moe</h1>
</div>
-<article>
- <center>
+<section>
+ <div style="display:flex">
<img src="/static/index/kanna.png" alt="A dragon loli" style="border-radius:50%;margin:-100px auto 20px">
- </center>
+ </div>
<p><a href="/pong">Games?</a> (Warning: loud)</p>
-</article>
+</section>
{{range .}}
-<article>
+<section>
<a href="/blog/{{.Slug}}"><h2>{{.Name}}</h2></a>
-</article>
+</section>
{{end}}