a700470067
document the customization options
...
more work towards #15
2021-11-01 23:36:10 -05:00
8a62167cea
remove some self-specific stuff from settings
...
implements most, if not all, of #15
2021-11-01 23:27:00 -05:00
4ea824e86f
provide some comments explaining the css files
2021-11-01 23:20:42 -05:00
28dbfd45b5
remove bss-specific image from the package
...
part of the work of #15
2021-11-01 23:20:16 -05:00
1de69dfc70
requirements bump
2021-10-08 07:30:46 -05:00
ccf8434f43
remove a bunch of unnecessary font size styling
...
in the end, a lot of this doesn't really matter, and right now, I
slightly prefer the site with a touch bigger font, so let's just let the
default do its thing
2021-10-08 07:16:31 -05:00
5aabb79199
call the pydot rendering support 'dot' in package extras
2021-10-08 07:09:21 -05:00
509072ab78
safety in tox: scan requirements for known bad packages
2021-06-24 11:46:56 -05:00
e61c55bed2
handle graphviz parsing errors more cleanly
2021-06-24 11:37:57 -05:00
41a53a2a13
add py39 environment to tox test envs
2021-06-24 11:23:36 -05:00
da055acda6
provide markdown extension to render graphviz
...
this is server side, and a more standard format, and thus I like it more
than mermaid, which I've been using at work. but, I really wanted a
server-side option (see my manifesto) for drawing relationship graphs,
for D&D stuff of all things.
this adds an optional 'graphviz' feature to package installation which
consequently depends on pydot
2021-06-24 09:46:26 -05:00
1583e3be99
more debugging and catch md misconfigured error
2021-06-24 09:43:00 -05:00
946a557177
correct the license declaration to match LICENSE and README
2021-06-24 08:34:26 -05:00
f0d4e7d3d9
have footer clear: both;
...
closes #14
2021-06-06 22:28:43 -05:00
954f7f4e80
allow markdown files to specify a redirect
...
closes #13
2021-06-06 22:24:35 -05:00
27bb139a2b
add installation and usage information
2021-06-05 22:59:00 -05:00
c15862850f
add a CONTRIBUTING file
2021-06-04 17:41:18 -05:00
afbfab338f
properly apply site wrap classes to style wide version
...
fixes #12
2021-06-03 07:52:01 -05:00
cac6b40af5
relicense the project under GPLv2
...
prepping for an actual public release of a sort, this hopefully
clarifies the license and copyright
license from https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2021-06-02 07:44:23 -05:00
65bc028524
implement base-wide.html as an extension of base.html
...
not quite sure why I didn't think of this initially... too much hacking
2021-05-19 22:30:20 -05:00
e8377adcf5
allow pages to specify different templates
2021-04-30 19:41:39 -05:00
f4beb15a3b
make directory redirects absolute paths
...
I think this is always the right choice, since we're rewriting the full
input path
2021-04-17 15:06:39 -05:00
da447d2873
Merge branch 'master' of git.incorporeal.org:bss/incorporeal-cms
2021-04-17 14:57:20 -05:00
cde82ab918
don't route /media separately anymore
2021-04-17 11:16:34 -05:00
1ac13f3b9c
add some 500 tests for test coverage
2021-04-17 11:08:01 -05:00
6705fa38eb
requirements bumps
2021-04-17 10:58:06 -05:00
30b79e9dc1
add tests for subdir symlinks
...
this is automagically supported by the previous rewrite
2021-04-17 10:39:05 -05:00
60715a3a5c
make request -> instance conversion support symlink dirs
...
I think this also clarifies the code, a bit
2021-04-17 10:31:05 -05:00
c90f0a3a42
treat symlinks as redirects
...
closes #7
2021-04-15 21:44:02 -05:00
71ead20f3f
have file handler return render type rather than bool
...
for when we have further types to render
2021-04-15 20:36:30 -05:00
be88c3c1bc
don't error on breadcrumbs if a dir doesn't have index.md
...
fixes #8
2021-04-14 21:35:14 -05:00
ced67bec8b
allow for serving files directly inside pages/
2021-04-14 20:45:50 -05:00
757b067e16
create a "plain" style with next to no CSS
2021-03-09 09:10:33 -06:00
06d948a709
have specific styles @import the base styles
...
this clarifies the value of what was formerly "style.css" a bit, and
also opens the door for potential styles that don't inherit the base
styling at all
2021-03-07 23:09:58 -06:00
d89fd151ca
use just the page part of the path in breadcrumbs
...
rather than showing the full path (e.g. /foo/bar/baz) in breadcrumbs
when the page doesn't have a Title, show just the leaf (baz)
Closes #4
2021-02-27 00:30:32 -06:00
ce1ed60dd2
allow for configuration to override the favicon
...
Closes #5
2021-02-27 00:10:03 -06:00
f46bff6ec6
tweak language around the email
2021-02-23 13:16:58 -06:00
70a8d4f06a
add configurable contact email for error pages
2021-02-23 13:11:52 -06:00
085571e58f
requiremnets bump
2021-02-22 21:20:49 -06:00
0bfea79a8f
log the OSError before returning 500
2021-02-21 19:37:59 -06:00
39d78af524
add error handler pages for 400, 404, 500
2021-02-21 19:35:52 -06:00
e570ee26b5
clean up unused imports
2021-02-21 18:41:09 -06:00
411ecebbc6
fold some nav/style menu styles into header
...
unnecessarily duplicated now that I have div.header, and also useful for
when I start the error handling pages
2021-02-21 10:14:42 -06:00
c1801b0086
move render() into shared spot
...
going to be used by error page handling code, once it exists
2021-02-20 23:36:03 -06:00
f08c1117d8
move site suffix into title always
...
this tweaks the behavior of the title to always append ' - suffix' to
any title (from the meta tag, or generated via request path), unless the
page explicitly specifies an empty Title meta tag
2021-02-20 23:21:29 -06:00
dd7687884a
remove resolve_page_file, been refactored away
2021-02-20 22:50:56 -06:00
15c88d920b
use request path as an alternative to Title metadata
2021-02-20 22:43:42 -06:00
1cef3b8196
rewrite generate_parent_navs to work on resource paths
...
the old code was kind of impossible to understand by reading it, so this
is hopefully considerably clearer
2021-02-20 21:47:39 -06:00
faf4a7f166
minor style cleanup
2021-02-20 19:22:23 -06:00
4dcc1c91c2
add method to from resource path to request path
2021-02-20 19:19:36 -06:00