mirror of
https://github.com/gohugoio/hugo.git
synced 2025-09-09 12:40:49 -04:00
Change transformer order
This commit is contained in:
parent
d712d6f331
commit
6fa6f69a4a
@ -557,8 +557,8 @@ func (s *Site) render(d interface{}, out string, layouts ...string) (err error)
|
||||
fmt.Println("Section is:", section)
|
||||
|
||||
transformer := transform.NewChain(
|
||||
&transform.AbsURL{BaseURL: s.Config.BaseUrl},
|
||||
&transform.NavActive{Section: section},
|
||||
&transform.AbsURL{BaseURL: s.Config.BaseUrl},
|
||||
)
|
||||
|
||||
renderReader, renderWriter := io.Pipe()
|
||||
|
Loading…
x
Reference in New Issue
Block a user