projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d712d6f
)
Change transformer order
author
Noah Campbell
<noahcampbell@gmail.com>
Wed, 2 Oct 2013 23:07:25 +0000
(19:07 -0400)
committer
Noah Campbell
<noahcampbell@gmail.com>
Tue, 8 Oct 2013 16:42:03 +0000
(18:42 +0200)
hugolib/site.go
patch
|
blob
|
history
diff --git
a/hugolib/site.go
b/hugolib/site.go
index 358a00edfcfa4533558fe5a8d7c2d38404c5cc96..85f0e9d901f4132c746a1ca6632b0bd107423d26 100644
(file)
--- a/
hugolib/site.go
+++ b/
hugolib/site.go
@@
-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()