Commit Graph

17 Commits

Author SHA1 Message Date
Brian S. Stephan ce06de78a8 tests misleadingly had a leading /, need to append it ourselves 2020-05-28 16:52:43 -05:00
Brian S. Stephan 05f879ab80 display untitled-page paths as /path rather than path.md 2020-05-28 12:17:27 -05:00
Brian S. Stephan 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
Brian S. Stephan 576ffc359c show some navigation on every page
closes #1
2020-03-15 20:33:23 -05:00
Brian S. Stephan 582cc9a2d1 rename: page_file_resolver -> resolve_page_file 2020-03-15 18:52:49 -05:00
Brian S. Stephan 2634c144a7 support a media/ dir under the instance dir
this is for miscellaneous files that should be served directly rather
than being a page route
2020-03-08 11:48:49 -05:00
Brian S. Stephan 337001a939 allow overriding the "incorporeal.org" in <title>
I'm not going to be able to use this software on incorporeal.org for a
bit, so plan B
2020-03-07 19:43:24 -06:00
Brian S. Stephan ab009e4f59 reorder config imports for more specific overrides 2020-03-07 19:37:02 -06:00
Brian S. Stephan 04145e92f8 add page modified time to the template 2020-03-07 15:39:12 -06:00
Brian S. Stephan 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
Brian S. Stephan 1f420eab30 journal: render markdown content + title metadata
this has a really basic template and whatnot at the moment, so
styling/etc isn't done, but this is maybe the last major piece before I
could actually see pushing this onto the site
2020-03-07 12:06:21 -06:00
Brian S. Stephan 0118eb2994 improve the logging inside pytest 2020-03-07 11:45:42 -06:00
Brian S. Stephan 053e3d96a3 attempt to load resolved journal files
one step closer to actual functionality, attempt to load the resolved
markdown file in the instance directory, or 404 if it doesn't exist
2020-03-07 10:08:23 -06:00
Brian S. Stephan 3f22b56c09 prepend 'journal/' to resolved files
this is where the markdown files will go inside the instance dir
2020-03-07 09:50:03 -06:00
Brian S. Stephan d98a0a7935 more organic test cases for journal_file_resolver 2020-03-07 09:47:26 -06:00
Brian S. Stephan 2d3a5c10aa add .md in journal_file_resolver
I'm confident enough that this is what I want to do for resolving
content, at least at the moment
2020-03-07 09:45:00 -06:00
Brian S. Stephan 11073b4811 add method to convert .*/ paths to .*/index 2020-03-07 08:37:38 -06:00