11932fa49e
Don't show code in plaintext
2022-07-29 09:11:04 +01:00
8a55275db7
Add alias to exec into web container
2022-07-29 09:02:09 +01:00
24e9fd7881
Bind dev server to all interfaces
2022-07-29 09:02:01 +01:00
c3e0bdd8a2
Correctly expose ports to host
2022-07-29 09:01:43 +01:00
856079c118
Don't explicitly list python directories
...
This means as others are added, they'll be automatically linted
2022-07-29 08:46:44 +01:00
9a15fcbe60
Move gunicorn conf to etc directory
2022-07-29 08:29:50 +01:00
c88fddf835
Use full debian for CI
...
The containers are bigger, but it has all the required dependencies.
It's also what's run in production anyway.
2022-07-28 23:20:06 +01:00
cf0a365277
Ensure additional content fields get indexed
2022-07-28 23:06:11 +01:00
863b0f67c5
Actually gitignore docker volumes
...
The reason they weren't coming up is because I don't have access to them
2022-07-28 22:44:57 +01:00
86c9ac5e7f
Automatically rebuild site indexes in local dev
2022-07-28 22:41:11 +01:00
a0f115fdc4
Add the basics of a search view
2022-07-28 22:40:23 +01:00
ce5e6cbdbd
Ignore vscode directory
...
I have this ignored globally, but it's annoying in the dev container
2022-07-28 21:10:53 +01:00
6f889b9b96
Remove unnecessary python path
2022-07-28 21:10:44 +01:00
a4c69525fc
Install inotifywait in dev
2022-07-28 20:50:09 +01:00
ed039ce6ed
Use postgres for project db
2022-07-28 20:41:30 +01:00
d995b412a0
Remove django-stubs
...
It's just not quite there yet for a lot of things, and makes certain things a right pain!
2022-07-28 20:15:20 +01:00
30135e53be
Update readme instructions for new docker setup
2022-07-28 19:24:16 +01:00
196775d5eb
Fix constraint for mypy
...
pip-tools resolves mypy to an incompatible version
Raised upstream as https://github.com/jazzband/pip-tools/issues/1658
2022-07-28 19:23:50 +01:00
13c355bf0a
Use pip-tools for dependency management
2022-07-28 18:55:47 +01:00
7132fb743c
Create user to match mine
2022-07-28 18:22:07 +01:00
b5391bc918
Change install command to do docker build
2022-07-28 18:21:19 +01:00
13f356c900
Use dind and buildkit to build container
2022-07-28 17:25:13 +01:00
e2e0144b6a
Setup gunicorn for production WSGI server
2022-07-28 14:53:22 +01:00
97d786e969
Move development into docker
...
This makes working with related services like redis much easier, and
helps start writing a production container
2022-07-28 14:42:12 +01:00
e87ed66a02
Install htmx
2022-07-26 09:04:14 +01:00
b92f2f4043
Add a Wagtail search page
...
It doesn't do any searching, yet
2022-07-26 08:53:49 +01:00
0601ced3f5
Add indexes to snippets
2022-07-26 08:41:40 +01:00
0c3b6633bd
Allow there to be no blog posts for homepage
2022-07-25 22:01:08 +01:00
f8d5cc5ba5
Add feeds to blog list pages
2022-07-25 21:58:06 +01:00
9288f97381
Remove redundant condition
2022-07-25 20:10:49 +01:00
e7617f24de
Populate latest blog post on homepage
2022-07-25 20:02:54 +01:00
71c08f5568
Use class name rather than database name for body classes
...
This avoids duplication and makes the classnames a bit shorter, and more sane.
2022-07-25 19:30:47 +01:00
ba7a2d7b4d
Use SVG versions of mermaid diagrams for better quality
2022-07-20 23:31:02 +01:00
78b310faa3
Scroll to element in hash after hero height is set
...
There's a bit of manually re-implementing what browsers already do here, but it's very simple and works very nicely
2022-07-20 22:57:50 +01:00
38cc5182ca
Add a shadow to the hero when it scrolls
...
Sadly done in JS, but it's much much easier this way
2022-07-20 22:39:35 +01:00
fafc0e8828
Simplify navbar styling and disable variants
2022-07-20 21:54:09 +01:00
261d35385f
Use dark rather than black
2022-07-20 21:42:58 +01:00
f5cb783f8d
Set base theme colours
2022-07-20 21:42:08 +01:00
10094515da
Add the basics of a contact page with accounts list
2022-07-20 09:15:20 +01:00
9b7a2b2c21
Move accounts snippet to new contact app
2022-07-20 09:15:12 +01:00
675d3f38b9
Ensure tags menu item works when the list page doesn't exist
2022-07-20 08:41:40 +01:00
85afe6c41b
Add alt tags to image blocks
2022-07-16 16:04:06 +01:00
c110318608
Test all pages have templates
2022-07-16 15:50:01 +01:00
6b96688adb
Add the concept of post collections
...
For things which are a fixed series (eg yearly repeats)
2022-07-16 15:45:57 +01:00
2ae8ec7045
Optimise getting blog posts for a tag
...
Because we can guarantee there's only 1 `BlogListPage`, the query becomes much simpler
2022-07-16 10:44:48 +01:00
dddecae190
Show content on listing pages
2022-07-16 10:39:20 +01:00
3306ec4e5a
Fix resolving parent pages
...
The order is actually correct for what we want. Also update the type
2022-07-16 10:29:47 +01:00
690095ea52
Replace tag snippets with full pages
...
Makes the page tree a bit more messy, but is much more versatile and means there are fewer hacks in the code to make snippets act like pages in the tree.
2022-07-16 10:29:01 +01:00
153b2c0c59
Revert "Add an actual cache for local development"
...
This reverts commit 8a4d91fecb
.
This actually makes things very annoying
2022-07-16 01:18:45 +01:00
1326214c8f
Rename namespace for static pygments URL
2022-07-16 01:13:48 +01:00