Summary can now contain short codes when using <!--more--> to define end of summary. - hugo - [fork] hugo port for 9front
(HTM) git clone git@git.drkhsh.at/hugo.git
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 2aaf92b515f14bb8df4baa150fd3683cf073e154
(DIR) parent be7ba0e98f5ea5debcd34288224f57c360c63dd0
(HTM) 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:
M hugolib/site.go | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
---
(DIR) 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))
}
}