1
This commit is contained in:
Alex Yatskov 2018-01-08 15:27:39 -08:00
parent 9f2737cb96
commit 1ccbdfc155

View File

@ -85,7 +85,7 @@ func (b *builder) Build(srcDir, dstDir string) {
Chain(syntax.New().Placement(syntax.PlaceInline)). Chain(syntax.New().Placement(syntax.PlaceInline)).
Chain(dom.New(fixup)). Chain(dom.New(fixup)).
Chain(thumbnail.New()). Chain(thumbnail.New()).
FilterPush(condition.If(len(b.root) > 0)). FilterPush(condition.New(len(b.root) > 0)).
Chain(abs.New().BaseUrl(b.root)). Chain(abs.New().BaseUrl(b.root)).
FilterPop(). FilterPop().
End(dstDir) End(dstDir)