3cade4fe73
add the image floats to the plain CSS
...
primarily it's the main page that just looks weird without it
2022-03-24 22:28:09 -05:00
63a764c6a0
don't use system tz, display timestamps as UTC
...
no particular reason, just one less dependency, and it goes further
towards my idyllic world where everyone is on UTC and there are no
timezones
2022-03-24 22:12:00 -05:00
d129d04e04
remove mdx_linkify and do requirement bumps
2022-03-24 22:00:37 -05:00
9d87aab61b
go back to lighter red in dark style
...
contrast is just too low for the "incorporeal red"
2022-01-03 12:40:30 -06:00
35ea94185b
unify some of the colors in light vs. dark
2022-01-02 22:55:43 -06:00
69feb0c29c
add a 75% max-width class, using it for GOTY?
2022-01-02 22:51:21 -06:00
788a9cbaba
use a smaller font for the styled pages
2022-01-02 22:50:04 -06:00
be6d96273c
eliminate warnings about how we register the pydot markdown extension
2021-11-03 14:16:18 -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
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
e61c55bed2
handle graphviz parsing errors more cleanly
2021-06-24 11:37:57 -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
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
afbfab338f
properly apply site wrap classes to style wide version
...
fixes #12
2021-06-03 07:52:01 -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
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
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
4dcc1c91c2
add method to from resource path to request path
2021-02-20 19:19:36 -06:00
1c40f45ffd
clarify name of request_path_to_instance_resource_path
2021-02-20 17:53:32 -06:00
2e0e87fe95
begin rewriting path to resource resolver
...
this code was getting too messy and scattered, and I realized that Flask
wasn't doing as much as I thought it was here, so now we need more
safety and sanity checks
2021-02-20 17:42:58 -06:00
b6aa125b8d
add sane_lists to markdown extensions
...
this fixes stuff like
* foo
* bar
1. hax
2021-02-13 11:07:00 -06:00
15142054da
tweak the appearance of footnotes
2021-02-12 19:37:25 -06:00
dc81ef35de
float image left/right for inlining in an article
2021-02-12 12:51:43 -06:00
c292f33334
CSS for framing an image inline the article
2021-02-12 12:51:12 -06:00