From 2aaf92b515f14bb8df4baa150fd3683cf073e154 Mon Sep 17 00:00:00 2001 From: spf13 Date: Fri, 4 Oct 2013 16:07:24 -0400 Subject: [PATCH] Summary can now contain short codes when using to define end of summary. --- hugolib/site.go | 1 + 1 file changed, 1 insertion(+) diff --git a/hugolib/site.go b/hugolib/site.go index 25ee4d3d..8e4e884f 100644 --- 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)) } } -- 2.30.2