Commit Graph

6 Commits

Author SHA1 Message Date
4702afd5dd
Reduce complexity trying to save computation on rendering streamfield
This replaces more custom iteration with caching, which will end up faster anyway, and is more drop-in with the new structure.

Sadly it still renders the content twice, as `get_content_html` requires access to the blocks.
2022-07-03 23:10:57 +01:00
8a7dba4ca0
Use bs4 to extract plain text from HTML
It's slower, but it keeps spaces between tags, which is what we want.
2022-06-30 21:32:47 +01:00
a1d72c122a
Add code block 2022-06-27 23:29:55 +01:00
e0b95fd269
Add whitenoise for static files 2022-06-09 09:03:00 +01:00
531b75c128
Read configuration from environment 2022-06-09 08:51:47 +01:00
5f814b2a5a
Init wagtail project 2022-06-09 08:36:29 +01:00