$ hugo server --source=./ --watch
panic: runtime error: index out of range
goroutine 1 [running]:
runtime.panic(0x6ec140, 0xb38197)
/usr/local/go/src/pkg/runtime/panic.c:266 +0xa6
github.com/spf13/hugo/hugolib.Tokenize(0x12026411, 0xa1, 0x1202640d, 0x3)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/hugolib/shortcode
.go:109 +0x60c
github.com/spf13/hugo/hugolib.ShortcodesHandle(0x12026000, 0x4bb, 0x1203a640, 0x
14d328, 0x11e9c8e0, ...)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/hugolib/shortcode
.go:46 +0xfa
github.com/spf13/hugo/hugolib.(*Site).ProcessShortcodes(0x11eeb1c0)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/hugolib/site.go:2
69 +0x80
github.com/spf13/hugo/hugolib.(*Site).Render(0x11eeb1c0, 0x0, 0x0)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/hugolib/site.go:1
72 +0x7a
github.com/spf13/hugo/hugolib.(*Site).Build(0x11eeb1c0, 0x0, 0x0)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/hugolib/site.go:1
09 +0x61
github.com/spf13/hugo/commands.buildSite(0x1825d7, 0x1, 0x1, 0x0, 0x0)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/commands/hugo.go:
149 +0xd7
github.com/spf13/hugo/commands.build(0x182667, 0x1, 0x1)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/commands/hugo.go:
103 +0x1d2
github.com/spf13/hugo/commands.server(0xb35da0, 0x11e52fd0, 0x0, 0x2)
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/commands/server.g
o:48 +0xcf
github.com/spf13/cobra.(*Command).execute(0xb35da0, 0x11e62770, 0x2, 0x2, 0x0, .
..)
/home/parallels/.gopathBuild/src/github.com/spf13/cobra/command.go:273 +
0xe4
github.com/spf13/cobra.(*Command).findAndExecute(0xb35d20, 0x11e62768, 0x3, 0x3,
0x0, ...)
/home/parallels/.gopathBuild/src/github.com/spf13/cobra/command.go:259 +
0x8f
github.com/spf13/cobra.(*Command).Execute(0xb35d20, 0x0, 0x0)
/home/parallels/.gopathBuild/src/github.com/spf13/cobra/command.go:308 +
0x4e8
github.com/spf13/hugo/commands.Execute()
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/commands/hugo.go:
52 +0x2e
main.main()
/home/parallels/.gopathBuild/src/github.com/spf13/hugo/main.go:21 +0x1d
goroutine 33 [chan send]:
text/template/parse.lexSpace(0x11e95040, 0x7d48c8)
/usr/local/go/src/pkg/text/template/parse/lex.go:339 +0xca
text/template/parse.(*lexer).run(0x11e95040)
/usr/local/go/src/pkg/text/template/parse/lex.go:198 +0x3d
created by text/template/parse.lex
/usr/local/go/src/pkg/text/template/parse/lex.go:191 +0xef