Commit graph

543 commits

Author SHA1 Message Date
2fe0960623
Add management command to clear cache 2022-08-20 18:51:01 +01:00
32a1486840
Ensure captions are optional 2022-08-20 18:38:28 +01:00
900aaad850
Simplify caching for pygments styles 2022-08-20 18:32:25 +01:00
fd445375ae
Add caching to a few simple URLs
These do a few queries, and don't change often - ideal for caching
2022-08-20 18:31:08 +01:00
2a46a70620
Add more elements to the dark mode 2022-08-20 17:45:12 +01:00
366d135285
Animate dark mode 2022-08-20 15:55:50 +01:00
727ad725d1
Add dark mode toggle 2022-08-20 15:31:14 +01:00
e0998c7ed8
Use find for HTML files not git ls-files
The problem with `ls-files` is that it doesn't work when files are
renamed unless you `git add` beforehand.
2022-08-20 14:22:59 +01:00
3e6547881e
Rename blog post models
A "blog" isn't a blog "post"
2022-08-20 14:20:12 +01:00
adc6002217
Reuse online accounts query on contact page 2022-08-20 12:19:54 +01:00
94efdfb1cc
Remove icons from navbar 2022-08-20 12:12:42 +01:00
90545c3e2a
Fix reading time on blog list 2022-08-20 11:22:50 +01:00
710a4c7955
Humanize reading time 2022-08-19 17:31:40 +01:00
2dd660ed13
Add meta tags 2022-08-19 16:56:20 +01:00
af6449c9f8
Add a way to disable SEO indexing
Well, "disable"
2022-08-19 15:31:27 +01:00
cd4252cd64
Return 200 when viewing the dedicated 404 page 2022-08-19 15:07:59 +01:00
f452f5deed
Add security.txt 2022-08-19 15:06:18 +01:00
1abc6da19b
Add robots.txt 2022-08-19 14:35:38 +01:00
24d92f4760
Use smaller image URL for listing 2022-08-19 14:33:57 +01:00
09c4b93245
Add typed table block 2022-08-19 13:48:45 +01:00
5affe274bd
Don't serialize all language options in migrations 2022-08-19 13:40:40 +01:00
57f5505c24
Add 404 page 2022-08-19 09:36:03 +01:00
a593dea561
Add spacing under results count on search page 2022-08-18 14:42:01 +01:00
67c867ddd2
Put playlist link in hero 2022-08-18 14:32:58 +01:00
fd93df93a8
Add share links to spotify page 2022-08-18 14:31:02 +01:00
29ce7efc13
Move spotify link above playlist 2022-08-18 14:30:51 +01:00
8fa27e8c3c
Remove unnecessary extra template 2022-08-18 14:17:29 +01:00
fcf327e429
Derive more page context from spotify API 2022-08-18 14:14:46 +01:00
e094974f20
Make the spotify table look nicer 2022-08-18 09:25:14 +01:00
55b723ba37
Cache spotify data 2022-08-18 09:21:57 +01:00
872a6c0b30
Get all pages of playlist data
This also only gets the fields we need
2022-08-18 09:21:48 +01:00
ace30f4dbd
Add basic spotify page
It currently doesn't handle pagination, or caching
2022-08-17 22:17:32 +01:00
9f2b2a81c9
Add coverage reports 2022-08-17 19:09:07 +01:00
c26397ae8d
Separate common tests and add tests for common pages 2022-08-17 18:52:07 +01:00
73dd1d6ba0
Only apply a colour changes to the footer
These looked weird on regular links and buttons
2022-08-17 13:48:33 +01:00
f554c9fb48
Add custom buttons to hero 2022-08-17 13:40:07 +01:00
0fa1d1c8be
Add references to RSS feeds to HTML 2022-08-17 08:45:15 +01:00
c5e662f2d8
Account for search page not existing 2022-08-16 23:24:17 +01:00
5394ebf984
Remove endblock name
It was wrong before, but removing it makes life a lot easier
2022-08-16 23:23:53 +01:00
37cc1979be
Start doing a dark mode myself
darkreader is pretty big, and this is nice, simple and fast.

Not to mention has much less JS
2022-08-16 22:51:03 +01:00
8952f7eae5
Create base content page rather than need mixin
This makes the subclassing much simpler, and removes type ignore hacks
2022-08-16 21:32:46 +01:00
489a212b7a
Only render content once 2022-08-16 20:50:34 +01:00
4e177f9400
Link search button to search page
For now...
2022-08-05 09:46:55 +01:00
4869b47d53
Restructure base templates to pull hero into base and remove duplication 2022-08-05 09:25:30 +01:00
a0e88f0f78
Remove root template dir 2022-08-05 08:58:21 +01:00
4ff8b64132
Fix header styling on most list page 2022-08-05 08:55:05 +01:00
3daddfb5f0
Ensure home search is always a certain width 2022-08-04 14:18:04 +01:00
973a50ea9c
Wire up home search input to go to search page 2022-08-04 14:17:50 +01:00
32412c1172
Docker build doesn't depend on any artifacts 2022-08-03 22:52:51 +01:00
684bb90707
Only download static artifacts for jobs which need them 2022-08-03 22:43:17 +01:00