The <!--more--> (summary divider) now works even if it is on the same line as content

Signed-off-by: Noah Campbell <noahcampbell@gmail.com>
This commit is contained in:
Mark Sanborn
2013-08-31 21:07:22 -07:00
committed by Noah Campbell
parent 4349216deb
commit 6c8e7edbb4
4 changed files with 37 additions and 12 deletions

View File

@@ -31,16 +31,16 @@ import (
var DefaultTimer = nitro.Initalize()
type Site struct {
Config Config
Pages Pages
Tmpl *template.Template
Indexes IndexList
Files []string
Sections Index
Info SiteInfo
Shortcodes map[string]ShortcodeFunc
timer *nitro.B
Target target.Publisher
Config Config
Pages Pages
Tmpl *template.Template
Indexes IndexList
Files []string
Sections Index
Info SiteInfo
Shortcodes map[string]ShortcodeFunc
timer *nitro.B
Target target.Publisher
}
type SiteInfo struct {