config permalinks meet “panic: runtime error: slice bounds out of range”
this is my config content:
baseURL = "http://www.readmorejoy.com/"
title = "ReadMoreJoy"
enableEmoji = true
theme = "jane"
[permalinks]
posts = "/:year/:month/:title/"
paginate = 10
rssLimit = 20
disqusShortname = ""
googleAnalytics = ""
copyright = "ReadMoreJoy"
panic error
hugo server
panic: runtime error: slice bounds out of range
goroutine 1 [running]:
github.com/gohugoio/hugo/resources/page.PermalinkExpander.validate(0xc000478b40, 0x0, 0xc000478720, 0x0, 0x0, 0x0)
/private/tmp/hugo-20190502-33999-l72ipl/hugo-0.55.5/src/github.com/gohugoio/hugo/resources/page/permalinks.go:154 +0x25b
github.com/gohugoio/hugo/resources/page.PermalinkExpander.parse(0xc000478b40, 0x0, 0xc000478720, 0xc000478b70, 0xc00047e9a0, 0x4c467a0, 0xc000478ae0)
/private/tmp/hugo-20190502-33999-l72ipl/hugo-0.55.5/src/github.com/gohugoio/hugo/resources/page/permalinks.go:94 +0x304
github.com/gohugoio/hugo/resources/page.NewPermalinkExpander(0xc000478720, 0x4b, 0x4d59ca7, 0x3, 0x4d5f512, 0x5)
/private/tmp/hugo-20190502-33999-l72ipl/hugo-0.55.5/src/github.com/gohugoio/hugo/resources/page/permalinks.go:66 +0x786
github.com/gohugoio/hugo/resources.NewSpec(0xc000478720, 0xc0004787b0, 0xc00040ef40, 0xc0001fd800, 0x9, 0x9, 0xc000414700, 0x11, 0x11, 0x10, ...)
this config is right
baseURL = "http://www.readmorejoy.com/"
title = "ReadMoreJoy"
enableEmoji = true
theme = "jane"
[permalinks]
posts = "/:year/:month/:title/"
paginate = 10
rssLimit = 20
#disqusShortname = ""
#googleAnalytics = ""
copyright = "ReadMoreJoy"