diff options
| author | Fuwn <[email protected]> | 2021-07-25 10:25:47 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-07-25 10:25:47 +0000 |
| commit | 63408bb390e773d3454a9baa3f4c4ad4441c6624 (patch) | |
| tree | c354fedfae9b0752fd9fe898575c709480c90a7c /route.go | |
| parent | feat(index): more gemini information (diff) | |
| download | space-63408bb390e773d3454a9baa3f4c4ad4441c6624.tar.xz space-63408bb390e773d3454a9baa3f4c4ad4441c6624.zip | |
fix(route): don't title case non-date blog posts
Diffstat (limited to 'route.go')
| -rw-r--r-- | route.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -118,7 +118,7 @@ func createBlogRoute(baseRoute string, postPath string, name string, reverse boo postTitle = strings.Title(fileNameNoExt[11:]) case noDateNoShow: - postTitle = strings.Title(fileNameNoExt) + postTitle = fileNameNoExt } files += fmt.Sprintf("=> %s %s\n", baseRoute+"/"+fileNameNoExt, postTitle) |