Change transformer order

This commit is contained in:
Noah Campbell committed 2013-10-08 18:42:03 +02:00
1 parent d712d6f331
commit 6fa6f69a4a
1 file changed
+1 -1
+1 -1
View File
@@ -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()