hugo

Unnamed repository; edit this file 'description' to name the repository.

git clone git://git.shimmy1996.com/hugo.git
commit 2aaf92b515f14bb8df4baa150fd3683cf073e154
parent be7ba0e98f5ea5debcd34288224f57c360c63dd0
Author: spf13 <steve.francia@gmail.com>
Date:   Fri,  4 Oct 2013 16:07:24 -0400

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

Diffstat:
Mhugolib/site.go | 1+
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/hugolib/site.go b/hugolib/site.go
@@ -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))
 	}
 }