0f7495bf2b
add the ability to redirect a file-looking request to a dir
...
if the client has requested /foo, and foo is actually a directory,
this redirects the client to /foo/
2020-06-19 19:58:12 -05:00
cf8f0325a2
fix /most/ isort problems, but conftest.py is being weird
2020-06-19 19:54:01 -05:00
ce06de78a8
tests misleadingly had a leading /, need to append it ourselves
2020-05-28 16:52:43 -05:00
05f879ab80
display untitled-page paths as /path rather than path.md
2020-05-28 12:17:27 -05:00
059108c37b
rewrite generate_parent_navs
...
* works on a path now, not a file location
* as such is sliiiiiightly easier to understand
* now also puts the current page in the nav
* fixed failing test where this caused an error (rather than 404) on
non-existent paths
2020-05-28 12:09:59 -05:00
da2476bbda
enable table support in the markdown parser
2020-04-05 10:25:46 -05:00
576ffc359c
show some navigation on every page
...
closes #1
2020-03-15 20:33:23 -05:00
582cc9a2d1
rename: page_file_resolver -> resolve_page_file
2020-03-15 18:52:49 -05:00
5ce44ba31c
move display_page path resolution logging to DEBUG
2020-03-15 18:43:41 -05:00
04145e92f8
add page modified time to the template
2020-03-07 15:39:12 -06:00
fe0ca7d90b
rename journal module to pages
...
this better represents the general purpose of this module, rather than
just "journal" stuff (though that will likely be a use)
2020-03-07 14:11:12 -06:00