memowe / contenticious

A simple file based "CMS" on Mojo steroids!
http://memowe.github.com/contenticious
MIT License
68 stars 11 forks source link

Get 404 when have dir and file with the same base name #3

Closed mvuets closed 12 years ago

mvuets commented 14 years ago

Get clean copy of contenticious and do: $ touch contenticious/pages/about.md Go to http://127.0.0.1:3000/about.html and see 404.

memowe commented 14 years ago

OK, it's possible to fix it, but the code will be uglier after that. I think, it would be better to use the file about/index.html instead. That way, you won't get a double navi item.

Is there a case in that you need a directory and a md document with the same name?

mvuets commented 14 years ago

Me don't. I think if it wont be fixed it should be documented as a limitation at least.

memowe commented 14 years ago

limitation documented. :)