From 0773b45a4a6fe98c059d336e4d5a9ed96b1a0ad8 Mon Sep 17 00:00:00 2001 From: gutmet Date: Sun, 26 May 2019 17:53:05 +0200 Subject: [PATCH] simple template: put category and timeline links first --- initer/templates.go | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/initer/templates.go b/initer/templates.go index 52360cd..40e11fd 100644 --- a/initer/templates.go +++ b/initer/templates.go @@ -29,7 +29,9 @@ var defaultTemplate string = ` {{end}} {{if .Description}}

{{.Description}}

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

Categories     Timeline

+ {{range $index, $post := .PostCollection}}
@@ -71,11 +73,6 @@ var defaultTemplate string = ` {{end}}
{{end}} - -{{if .PostCollection}} -

Categories

-

Timeline

-{{end}} `