aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dynamic.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/dynamic.go b/dynamic.go
index e15c529..ace70ed 100644
--- a/dynamic.go
+++ b/dynamic.go
@@ -45,8 +45,8 @@ func handle(w http.ResponseWriter, r *http.Request) {
45 45
46 // parse these dirs 46 // parse these dirs
47 elements := make(map[string][]byte) 47 elements := make(map[string][]byte)
48 for i := len(dirs) - 1; i >= 0; i-- /*_, dir := range reverse dirs*/ { 48 for i := len(dirs) - 1; i >= 0; i-- {
49 parse(path.Join(*settings.sourceDir, dirs[i]), elements, settings.exts, false) 49 elements = parse(path.Join(*settings.sourceDir, dirs[i]), elements, settings.exts, false)
50 } 50 }
51 51
52 // render the page 52 // render the page