diff --git a/initer/templates.go b/initer/templates.go index 48706fc..49d5915 100644 --- a/initer/templates.go +++ b/initer/templates.go @@ -182,6 +182,9 @@ var bsStarterTemplate string = ` {{if .Description}}

{{.Description}}

{{end}} {{if .PostCollection }} +

Categories     Timeline

+ + {{range $index, $post := .PostCollection}}
@@ -195,7 +198,29 @@ var bsStarterTemplate string = ` {{end}}
- {{.Content}} +{{.Content}} + +{{if .CategoryListings}} +
+
+{{range $i, $listing := .CategoryListings -}} +
{{$listing.Name}}
+{{range $j, $post := $listing.Posts -}} +
{{$post.Meta.Title}}
+{{end}} +{{end}} +
+
+{{end}} + +{{if .TimelineListing}} +
+{{range $i, $post := .TimelineListing -}} +{{$post.Meta.FormattedDate}}: {{$post.Meta.Title}}
+{{end}} +
+{{end}} +
{{if .Categories}} @@ -222,11 +247,6 @@ var bsStarterTemplate string = `

Later-->

{{end}}
-{{end}} - -{{if .PostCollection}} -

Categories

-

Timeline

{{end}}