|
f8f0b6ce82
|
Add security.md file
|
2022-09-03 16:37:26 +01:00 |
|
|
6dfbb830ef
|
Add IE11 deterrent
|
2022-09-03 16:35:39 +01:00 |
|
|
eaa5b063f4
|
Use smaller, PNG image for meta image
This ensures it's not too large, but also crawlers are more likely to
support PNG than webp
|
2022-09-03 16:21:24 +01:00 |
|
|
be009dcb37
|
Convert all images to webp
It's so much smaller!
|
2022-09-03 16:15:08 +01:00 |
|
|
eb05588b4a
|
Only copy glightbox CSS
This also comes with plyr
|
2022-09-03 15:29:15 +01:00 |
|
|
8691d11a15
|
Only render comments in debug
|
2022-09-02 17:20:03 +01:00 |
|
|
7fff13f0ab
|
Add lightbox for content images
|
2022-09-02 17:18:40 +01:00 |
|
|
611e343564
|
Just use a simple icon field
The library has some issues, even if it is great
https://github.com/saschaludwig/django-fontawesome-6/pull/2
|
2022-09-02 15:29:12 +01:00 |
|
|
7026aca934
|
Add account links to footer
Putting them in the navbar is too crowded.
|
2022-09-02 09:28:35 +01:00 |
|
|
6d60cedc6f
|
Add comments
|
2022-09-02 08:27:42 +01:00 |
|
|
8b963d7936
|
Add some flake8 plugins
|
2022-09-01 09:01:32 +01:00 |
|
|
22e99502cb
|
Add 2FA
This should only be required in production, but we'll see how it goes.
It doesn't work quite how I expected it to.
|
2022-09-01 08:53:54 +01:00 |
|
|
54af457d8e
|
Add SRI
|
2022-09-01 08:36:39 +01:00 |
|
|
5d370a0712
|
Unify pygments stylesheet
It's less generic and less cool, but this bakes the styles for dark and
light into a single stylesheet, and deals with switching without any JS.
|
2022-08-31 23:02:13 +01:00 |
|
|
488369a247
|
Add filename and header show checkbox to code block
|
2022-08-31 22:30:08 +01:00 |
|
|
55f15bc974
|
Fix height on 404 page
|
2022-08-31 19:14:31 +01:00 |
|
|
df09ec0f38
|
Ensure request is passed into the singleton URL cache
This removes needing extra queries
|
2022-08-31 19:06:02 +01:00 |
|
|
25e49de081
|
Don't cache page bodies
They're still pretty fast to generate, and doing this breaks previews
completely
|
2022-08-31 18:54:09 +01:00 |
|
|
27dc383d17
|
Use relative URL for singletons
It's rare they'll be needed externally, and this way there's less to do
|
2022-08-31 09:16:25 +01:00 |
|
|
ce3690384e
|
Make code header a solid bar instead
This is much easier to layout, and has the benefit of being able to fit
more in.
The transform was still leaving space allocated, which looked odd
|
2022-08-31 09:05:32 +01:00 |
|
|
768223ba67
|
Add spacing around plusses in language dropdown
It looks so much better!
|
2022-08-30 22:49:05 +01:00 |
|
|
f3b603a82a
|
Add language and clipboard buttons to code blocks
|
2022-08-30 22:48:45 +01:00 |
|
|
da89510eee
|
Restart workers after a given number of requests
|
2022-08-30 21:39:11 +01:00 |
|
|
ca835a33b4
|
Run migrations on container start
|
2022-08-30 09:13:43 +01:00 |
|
|
ad894a30a1
|
Correctly override gunicorn server header
|
2022-08-30 08:48:16 +01:00 |
|
|
1e9ff9f24b
|
Remove CORS header from static files
|
2022-08-28 22:28:43 +01:00 |
|
|
e7c4acce8b
|
Add the ability to password protect pages
Useful for sharing drafts
|
2022-08-28 22:02:02 +01:00 |
|
|
9ee46721c9
|
Use Wagtail login screen for admin-protected pages
Should never happen, but at least it won't look terrible
|
2022-08-28 20:34:23 +01:00 |
|
|
6f073c6cfc
|
Update module name
This will handle more than just URLs
|
2022-08-28 20:30:50 +01:00 |
|
|
442aeb21b8
|
Use singleton URL cache
|
2022-08-28 20:22:55 +01:00 |
|
|
7a4388bd69
|
Ensure git is installed on CI
|
2022-08-28 17:49:21 +01:00 |
|
|
ac46c0ae0b
|
Add start of simple module to help with caching singleton URLs
|
2022-08-28 17:42:21 +01:00 |
|
|
557a28833b
|
Only show public pages
|
2022-08-28 16:51:27 +01:00 |
|
|
47980032b0
|
Add autocomplete for blog pots tags
|
2022-08-28 16:18:31 +01:00 |
|
|
c660e54bae
|
Add method to prefetch for listing
|
2022-08-28 14:52:27 +01:00 |
|
|
735ab73ec0
|
Inline select_related calls
|
2022-08-28 12:59:09 +01:00 |
|
|
6403aca2a2
|
Add tests for search page
|
2022-08-28 12:57:10 +01:00 |
|
|
edbedcd0fa
|
Remove unnecessary extra query during search
Just pass the original queryset, which helps ordering and performance
|
2022-08-28 12:56:26 +01:00 |
|
|
4ca2a97b2a
|
Update queries for favicon and add cache
It shouldn't change much, so let's cache it
|
2022-08-28 00:13:19 +01:00 |
|
|
4b1d873bf8
|
Extend time for session cookies
|
2022-08-27 23:54:31 +01:00 |
|
|
358013e16a
|
Add favicon
|
2022-08-27 23:44:56 +01:00 |
|
|
46836a6d30
|
dark-mode
|
2022-08-27 23:20:30 +01:00 |
|
|
eddf4c88d1
|
Use monokai as the dark mode
I prefer how it looks
|
2022-08-27 22:48:22 +01:00 |
|
|
1a2320d14a
|
Use consistent styles for image and mermaid blocks
|
2022-08-27 22:47:56 +01:00 |
|
|
8c9589a497
|
Ensure table block has a dark mode
|
2022-08-27 22:47:03 +01:00 |
|
|
e5c8c6d7eb
|
Add dark mode for spotify table
|
2022-08-27 22:31:19 +01:00 |
|
|
ee1eaf6593
|
Correctly set max height of list item
|
2022-08-27 21:57:17 +01:00 |
|
|
fea5a1f58b
|
Don't define classes immediately inside dark-mode mixin
This causes with the automatic transition animation.
|
2022-08-27 21:24:49 +01:00 |
|
|
245d2ee146
|
Add dark mode for contact page
|
2022-08-27 21:13:15 +01:00 |
|
|
e6244bee51
|
Ensure subtitle is also dark
|
2022-08-27 20:42:44 +01:00 |
|