Summary can now contain short codes when using <!--more--> to define end of summary.

This commit is contained in:
spf13 2013-10-04 16:07:24 -04:00
parent be7ba0e98f
commit 2aaf92b515

View file

@ -247,6 +247,7 @@ func (s *Site) checkDirectories() (err error) {
func (s *Site) ProcessShortcodes() {
for _, page := range s.Pages {
page.Content = template.HTML(ShortcodesHandle(string(page.Content), page, s.Tmpl))
page.Summary = template.HTML(ShortcodesHandle(string(page.Summary), page, s.Tmpl))
}
}