Revert "Improve .Content vs shortcodes"

This reverts commit e590cc26eb.
This commit is contained in:
Bjørn Erik Pedersen 2018-04-19 17:40:57 +02:00
parent d6982ac0ac
commit d6a2024e6b
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F
5 changed files with 26 additions and 77 deletions

View file

@ -1865,15 +1865,14 @@ func getGoMaxProcs() int {
func (s *Site) newNodePage(typ string, sections ...string) *Page {
p := &Page{
bundleType: bundleBranch,
language: s.Language,
pageInit: &pageInit{},
Kind: typ,
Source: Source{File: &source.FileInfo{}},
Data: make(map[string]interface{}),
Site: &s.Info,
sections: sections,
s: s}
language: s.Language,
pageInit: &pageInit{},
Kind: typ,
Source: Source{File: &source.FileInfo{}},
Data: make(map[string]interface{}),
Site: &s.Info,
sections: sections,
s: s}
p.outputFormats = p.s.outputFormats[p.Kind]