diff --git a/blogo b/blogo index f3ef090..cc9cd80 100755 Binary files a/blogo and b/blogo differ diff --git a/main.go b/main.go index 747282b..814c3b7 100644 --- a/main.go +++ b/main.go @@ -27,7 +27,7 @@ func main() { m["[blogo-index-post-template]"] = htmlpostthumb r := putHTMLToTemplate(indexPostTemplate, m) filename := strings.Split(post.Md, ".")[0] - r = "" + r + "" + r = "" + r + "" blogoIndex = blogoIndex + r } //put the blogoIndex in the index.html diff --git a/readConfig.go b/readConfig.go index 7fdc9a6..7838a3c 100755 --- a/readConfig.go +++ b/readConfig.go @@ -14,6 +14,7 @@ type Post struct { //Config gets the config.json file into struct type Config struct { Title string `json:"title"` + RelativePath string `json:"relativePath"` IndexTemplate string `json:"indexTemplate"` PostThumbTemplate string `json:"postThumbTemplate"` Posts []Post `json:"posts"`