1 files changed, 2 insertions(+), 2 deletions(-)
M templates.go
M templates.go => templates.go +2 -2
@@ 25,8 25,8 @@ const default_index_template = `{{ .Content }}
{{ $postlenght := len .Children.posts -}}
{{ if gt $postlenght 0 -}}
## Posts on {{ .Config.Title }}
-{{ range $post := .Children.posts -}}
-=> {{ $post.URLPath }} {{ $post.Date.Format "2006-01-02" }} - {{ $post.Title -}} {{end}}
+{{ range $post := .Children.posts }}
+=> {{ $post.URLPath }} {{ $post.Date.Format "2006-01-02" }} - {{ $post.Title }}{{ end }}
{{ end }}`
const atom_feed_template = `<?xml version="1.0" encoding="utf-8"?>