mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 16:14:59 +00:00
Change transformer order
This commit is contained in:
1 parent
d712d6f331
commit
6fa6f69a4a
1 file changed
+1
-1
+1
-1
@@ -557,8 +557,8 @@ func (s *Site) render(d interface{}, out string, layouts ...string) (err error)
|
|||||||
fmt.Println("Section is:", section)
|
fmt.Println("Section is:", section)
|
||||||
|
|
||||||
transformer := transform.NewChain(
|
transformer := transform.NewChain(
|
||||||
&transform.AbsURL{BaseURL: s.Config.BaseUrl},
|
|
||||||
&transform.NavActive{Section: section},
|
&transform.NavActive{Section: section},
|
||||||
|
&transform.AbsURL{BaseURL: s.Config.BaseUrl},
|
||||||
)
|
)
|
||||||
|
|
||||||
renderReader, renderWriter := io.Pipe()
|
renderReader, renderWriter := io.Pipe()
|
||||||
|
|||||||
Reference in new issue
Block a user