Better support for extensionless URLs
alanhogan opened this issue · 2 comments
I’m not using .html extensions anywhere. /about
, not /about.html
.
Two problems I have run into:
- Node links seem get .active classes in the
nav
macro, but not pages, including the home page. - Links generated from e.g. a blog index end in
.html
, which means an extra redirection (or 404 if I were lazier) in my environment.
It seems to me the core cause is there is no configuration option to this effect. I guess a big part of it would be having FS.get_relative_path
omit the file extension when pages are configured to not use the .html extension.
Hey,
Assuming that this is on the wrong repository. Please take a look at:
https://github.com/hyde/hyde/blob/master/hyde/ext/plugins/urls.py#L22-33
Er, yes, wrong repo. Sorry.
On May 14, 2011, at 9:54 PM, lakshmivyasreply@reply.github.com wrote:
Hey,
Assuming that this is on the wrong repository. Please take a look at:
https://github.com/hyde/hyde/blob/master/hyde/ext/plugins/urls.py#L22-33Reply to this email directly or view it on GitHub:
#66 (comment)