mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Revert "Improve .Content vs shortcodes"
This reverts commit e590cc26eb
.
This commit is contained in:
@@ -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]
|
||||
|
||||
|
Reference in New Issue
Block a user