summaryrefslogtreecommitdiff
path: root/templates/posts.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/posts.html')
-rw-r--r--templates/posts.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/posts.html b/templates/posts.html
index 75d3801..c68fb73 100644
--- a/templates/posts.html
+++ b/templates/posts.html
@@ -1,4 +1,9 @@
{{template "base" .}}
{{define "content"}}
-<h1>Posts</h1>
+<h1>posts</h1>
+<ul>
+ {{range .Posts}}
+ <li><a href="{{.Path}}">{{.Title}}</a></li>
+{{end}}
+</ul>
{{end}}