diff --git a/cmd/ssg/site/rendervkvnl.go b/cmd/ssg/site/rendervkvnl.go index e85875a..9b658b9 100644 --- a/cmd/ssg/site/rendervkvnl.go +++ b/cmd/ssg/site/rendervkvnl.go @@ -1,7 +1,6 @@ package site import ( - "fmt" "os" "path/filepath" "text/template" @@ -38,9 +37,7 @@ func renderVKVNLPosts(targetPath string, tpl *template.Template, posts Posts, _ } if i != last { data.NextLink = posts[i-1].Link() - fmt.Printf("first %d, last %d, i %d\n", first, last, i) if i == last+1 { - fmt.Println(data.Title) data.NextLink = "/" } path = filepath.Join(targetPath, post.Year(), data.Slug) diff --git a/resources/vkvnl/template/post.gohtml b/resources/vkvnl/template/post.gohtml index cd47252..d735ca3 100644 --- a/resources/vkvnl/template/post.gohtml +++ b/resources/vkvnl/template/post.gohtml @@ -10,8 +10,9 @@ body { margin: 40px auto; max-width: 650px; line-height: 1.6; font-size: 18px; color: #000; padding:0 10px; } h1, h2, h3 { line-height:1.2; } a { color: #000; } - #footer { text-align: center; } + #footer { margin-top: 25px; text-align: center; } +
@@ -19,7 +20,6 @@ - . {{ .Content }} -