spanezz / staticsite

Static site generator
GNU General Public License v3.0
46 stars 7 forks source link

Repo mode #9

Closed TobiX closed 7 years ago

TobiX commented 7 years ago

This branch implements the changes I proposed in #4. There are 2 bug fixes here (dot directories, relative links to root), I can split them out to another pull request if some commits need more discussion.

The nice thing about these changes: You can now point ssite server to any directory with a README.md and get served a live markdown preview :)

One thing I just realized: If there is a index.md and README.md in the same directory, one of those files gets ignored, maybe one should probably win and the other should just work like a "normal" file...

spanezz commented 7 years ago

Thanks, I like your patches a lot!