Commit Graph

34 Commits

Author SHA1 Message Date
Jake Howard 23ce49ca8f
Improve readability of recent posts 2024-02-17 20:44:43 +00:00
Jake Howard c69d8d8329
Add recent post cards to homepage 2024-02-10 14:56:26 +00:00
Jake Howard c2150b66f3
Reduce cache times
This means content will be updated faster after changes
2023-06-26 13:26:28 +01:00
Jake Howard e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
Jake Howard fe3c741347
Construct HTML title in Python
Site is cached, and makes it easier to reference elsewhere
2022-10-30 12:53:15 +00:00
Jake Howard 214f10002c
Cache latest blog post 2022-10-21 13:20:22 +01:00
Jake Howard 549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
Jake Howard e21d525259
Reset migrations
During dev I made loads, but I don't need them now
2022-09-04 15:56:51 +01:00
Jake Howard df09ec0f38
Ensure request is passed into the singleton URL cache
This removes needing extra queries
2022-08-31 19:06:02 +01:00
Jake Howard 6f073c6cfc
Update module name
This will handle more than just URLs
2022-08-28 20:30:50 +01:00
Jake Howard 442aeb21b8
Use singleton URL cache 2022-08-28 20:22:55 +01:00
Jake Howard 557a28833b
Only show public pages 2022-08-28 16:51:27 +01:00
Jake Howard e19a2456e7
Move listing functionality to generic base page 2022-08-27 12:21:13 +01:00
Jake Howard 2dd660ed13
Add meta tags 2022-08-19 16:56:20 +01:00
Jake Howard 973a50ea9c
Wire up home search input to go to search page 2022-08-04 14:17:50 +01:00
Jake Howard e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
Jake Howard 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
Jake Howard 0c3b6633bd
Allow there to be no blog posts for homepage 2022-07-25 22:01:08 +01:00
Jake Howard e7617f24de
Populate latest blog post on homepage 2022-07-25 20:02:54 +01:00
Jake Howard c23c03ec33
Add custom image model 2022-06-28 18:54:11 +01:00
Jake Howard 1600356e8b
Re-enable darkmode on homepage 2022-06-19 17:21:02 +01:00
Jake Howard 8a9772bc21
Improve styling of homepage 2022-06-15 14:23:06 +01:00
Jake Howard 339ffde323
Allow images to be optional 2022-06-15 09:33:53 +01:00
Jake Howard 8aea60da35
Add dynamic images to home and content pages 2022-06-15 09:27:20 +01:00
Jake Howard d4b9638a94
Use ipsum for latest post for now 2022-06-14 22:06:00 +01:00
Jake Howard 8e7be79b73
Only allow 1 homepage 2022-06-14 20:57:50 +01:00
Jake Howard a1aab90eb9
Add basic homepage layout 2022-06-12 21:08:11 +01:00
Jake Howard e2d5101a56
Add linting 2022-06-12 15:24:17 +01:00
Jake Howard c16b81a618
Test homepage is accessible 2022-06-10 17:04:36 +01:00
Jake Howard 82f3163ff5
Derive body class for pages 2022-06-10 15:54:31 +01:00
Jake Howard 3986b30a64
Create a base page model for all other to inherit 2022-06-10 15:48:07 +01:00
Jake Howard 67b8965e1f
Remove boilerplate 2022-06-10 15:44:43 +01:00
Jake Howard c1fdd81f86
Setup static file pipeline 2022-06-10 09:13:00 +01:00
Jake Howard 5f814b2a5a
Init wagtail project 2022-06-09 08:36:29 +01:00