summaryrefslogtreecommitdiffstats
path: root/templates/index.html.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/index.html.template')
-rw-r--r--templates/index.html.template6
1 files changed, 4 insertions, 2 deletions
diff --git a/templates/index.html.template b/templates/index.html.template
index 5c8d11b..43e35f9 100644
--- a/templates/index.html.template
+++ b/templates/index.html.template
@@ -1,3 +1,5 @@
+{{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>
@@ -10,8 +12,8 @@
<p><a href="/pong">Games?</a> (Warning: loud)</p>
</article>
-{{range .Posts}}
+{{range .}}
<article>
- <a href="/blog/{{.}}"><h2>{{name .}}</h2></a>
+ <a href="/blog/{{.Slug}}"><h2>{{.Name}}</h2></a>
</article>
{{end}}