Closed trans closed 12 years ago
I'm confused by this code:
https://github.com/benbjohnson/smeagol/blob/master/bin/smeagol-static#L55 https://github.com/benbjohnson/smeagol/blob/master/bin/smeagol-static#L62
I don't understand how it can possibly work. It seems to say that every valid wiki page overwrites index.html. That can't be right. What am I missing?
index.html
Okay, I figured this out. The trick is that it pushes a new directory onto a stack each times, so index.html is not the same file.
I'm confused by this code:
https://github.com/benbjohnson/smeagol/blob/master/bin/smeagol-static#L55 https://github.com/benbjohnson/smeagol/blob/master/bin/smeagol-static#L62
I don't understand how it can possibly work. It seems to say that every valid wiki page overwrites
index.html
. That can't be right. What am I missing?