27d4d16572
go back to using the "or any later version" clause of GPLv3
...
I think arguments that "Such new versions will be similar in spirit to
the present version", in my own reading and readings such as in
https://www.draketo.de/software/gpl-or-later , convince me for now that
it is acceptable to allow the "or later" for compatibility and future
problem's sake
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-21 08:22:49 -05:00
6d7987cfae
don't require the host to be in the Image tag
...
now that we know our base host via config, we can stop hardcoding it in
each Image tag
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-18 08:13:18 -05:00
5b17041b66
move the style switcher to the a separate .js file
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-17 10:06:15 -05:00
d52fc4df9a
fix where the feed generator outputs to, and also output error pages
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-17 09:07:56 -05:00
afc85faa2f
make the style cookie apply to the whole site
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-17 01:00:10 -05:00
f3eed9d4f2
fix and test the linking to the style switcher
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-17 00:47:00 -05:00
41350d4b7a
remove debug stuff from the style switcher JS
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-17 00:38:37 -05:00
7eb485c6ae
rewrite the project as a static site generator
...
this removes Flask, reworks a number of library methods accordingly, and
adds generators and build commands to process the instance directory
(largely unchanged, except config.py is now config.json) and spit out
files suitable to be served by a web server such as Nginx.
there are probably some rough edges here, but overall this works.
also note, as this is no longer server software on a network, the
license has changed from AGPLv3 to GPLv3, and the "or any later version"
allowance has been removed
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2025-03-16 23:56:37 -05:00
d28ddf9392
remove "trailing slash on void elements" which "has no effect"
...
caught by the W3C validator
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-26 10:11:38 -05:00
6d7bfc58c8
add copyright and license tags to CSS and templates
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-16 00:10:34 -05:00
02c2176c4f
link to the Atom and RSS feeds in the template
...
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-30 22:09:58 -06:00
e9af2de21e
don't assume all styles are in the static directory
...
this is to make room for a second, instance-configured spot for them
2022-12-31 10:16:35 -06:00
4a2f650a33
don't hardcode styles to present, use config
...
now that we can override the styles in practice, we also need to only
present what is possible in the HTML
2022-12-31 09:53:22 -06:00
0f03ad6f38
allow pages to supply extra footer text
2022-09-16 13:35:40 -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
da447d2873
Merge branch 'master' of git.incorporeal.org:bss/incorporeal-cms
2021-04-17 14:57:20 -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
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
39d78af524
add error handler pages for 400, 404, 500
2021-02-21 19:35:52 -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
b26ea6a661
add html tag in order to specify lang="en"
2021-02-11 09:36:24 -06:00
5e41cde52e
use a flexbox for the header sections
...
this is better than a float because I have always kind of hated how
floating divs work, and this also orders and displays the navs better in
elinks
2021-02-11 00:23:19 -06:00
ad33cf2e83
replace section tags with div tags
...
syntactically incorrect usage, as picked up by a W3C validator
2021-02-11 00:08:19 -06:00
c25fefa9e3
add opengraph metadata to pages, via Markdown meta
2021-01-17 23:02:14 -06:00
49ab2befb6
disable browser resize magic, do viewport magic instead
2020-12-08 18:47:02 -06:00
7cf11986c5
user-selectable light and dark themes
...
cookies, template rendering with different CSS files via default or
request param or cookie, etc.
2020-10-30 00:19:19 -05:00
1398cfe3db
put some sidebars on the site for readability
2020-10-25 17:48:19 -05:00
576ffc359c
show some navigation on every page
...
closes #1
2020-03-15 20:33:23 -05:00
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
01cd6587e0
add a HTML5 favicon icon
...
mostly so browsers stop requesting the old ancient path
2020-03-07 17:40:24 -06:00
438cc08edc
more style.css into a static/css/ directory
2020-03-07 17:26:32 -06:00
b2d34bf658
add some basic styling to the entire site
2020-03-07 16:33:47 -06:00
04145e92f8
add page modified time to the template
2020-03-07 15:39:12 -06:00
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