mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Summary can now contain short codes when using <!--more--> to define end of summary.
This commit is contained in:
parent
be7ba0e98f
commit
2aaf92b515
1 changed files with 1 additions and 0 deletions
|
@ -247,6 +247,7 @@ func (s *Site) checkDirectories() (err error) {
|
||||||
func (s *Site) ProcessShortcodes() {
|
func (s *Site) ProcessShortcodes() {
|
||||||
for _, page := range s.Pages {
|
for _, page := range s.Pages {
|
||||||
page.Content = template.HTML(ShortcodesHandle(string(page.Content), page, s.Tmpl))
|
page.Content = template.HTML(ShortcodesHandle(string(page.Content), page, s.Tmpl))
|
||||||
|
page.Summary = template.HTML(ShortcodesHandle(string(page.Summary), page, s.Tmpl))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue