Commit Graph

117 Commits

Author SHA1 Message Date
Brian S. Stephan 01cd6587e0 add a HTML5 favicon icon
mostly so browsers stop requesting the old ancient path
2020-03-07 17:40:24 -06:00
Brian S. Stephan 438cc08edc more style.css into a static/css/ directory 2020-03-07 17:26:32 -06:00
Brian S. Stephan b2d34bf658 add some basic styling to the entire site 2020-03-07 16:33:47 -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 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 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 1d446436ad use module name as name for journal Blueprint 2020-03-07 09:42:07 -06:00
Brian S. Stephan 17bbe9c6b4 allow explicit instance_path in create_app()
this will be necessary to point pytest's app fixture at a different
instance directory with test data
2020-03-07 09:24:20 -06:00
Brian S. Stephan 11073b4811 add method to convert .*/ paths to .*/index 2020-03-07 08:37:38 -06:00
Brian S. Stephan 76bdc28a9f add setup.py with versioneer support 2020-03-07 00:29:17 -06:00
Brian S. Stephan 592f3e90b0 remove a debugging print statement 2020-03-06 22:51:04 -06:00
Brian S. Stephan 7d23b15043 log all incoming requests 2020-03-06 19:53:29 -06:00
Brian S. Stephan ded784219e skeleton journal functionality --- catch-all view
all this does at the moment is echoes the path from the request back in
the response, but it's the super basic plumbing I can write at the
moment
2020-03-06 18:08:24 -06:00
Brian S. Stephan a28f27206b basic create_app() and configuration scaffolding 2020-03-06 17:51:20 -06:00