diff options
-rw-r--r-- | dynamic.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |