mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
Change transformer order
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user