summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/blog/post.html.template4
-rw-r--r--templates/index.html.template16
2 files changed, 10 insertions, 10 deletions
diff --git a/templates/blog/post.html.template b/templates/blog/post.html.template
index d250fee..80670d6 100644
--- a/templates/blog/post.html.template
+++ b/templates/blog/post.html.template
@@ -1,5 +1,5 @@
-<article>
+<section>
<a href="/">⬅️Home</a>
<h1>{{template "title" .}}</h1>
{{template "post"}}
-</article>
+</section>
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}}