Commit Graph

106 Commits

Author SHA1 Message Date
Jake Howard 8d724277b0
Add random button to listing pages 2024-05-09 19:42:33 +01:00
Jake Howard 7cbdda9397
Fix listing item images 2024-04-18 17:53:47 +01:00
Jake Howard bd4c1a193a
Add page type for talks
Content coming soon, probably
2024-03-01 17:09:56 +00:00
Jake Howard a19964199f
Put similar content above comments 2024-02-10 15:06:01 +00:00
Jake Howard 0424c2dba2
Fix issues with public tags in templates 2024-02-06 18:35:40 +00:00
Jake Howard ae4ea780b7
Only show published tags 2024-01-27 19:59:59 +00:00
Jake Howard c36f24b212
Use heading for simple list items 2024-01-05 16:24:25 +00:00
Jake Howard c8885d19d3
Use correct heading tag for date subtitles 2024-01-05 16:17:12 +00:00
Jake Howard 518461a88f
Use wagtail's new built-in cache tags
They're good, because I wrote them
2024-01-05 15:44:45 +00:00
Jake Howard 48e36bc5b9
Update to Wagtail 5.2 (and others) 2024-01-05 15:30:31 +00:00
Jake Howard 7a4aaca82c
Add posts count to tag list 2023-12-25 23:28:44 +00:00
Jake Howard e5ae66567a
Unify RSS feeds
One per section is a little much. Just use a single feed and be done with. Might help discoverability a little.
2023-12-22 17:42:29 +00:00
Jake Howard 34dcf63a93
Add tags to feed 2023-11-29 14:30:13 +00:00
Jake Howard a8cd2742ab
Unify page feed implementations
No need for a separate class just to handle blog publish dates
2023-11-29 14:17:22 +00:00
Jake Howard 520614a3c5
Move "view all" link above similar content
Easier to see
2023-10-16 21:35:58 +01:00
Jake Howard 0931217e74
Add support pill 2023-08-29 22:19:41 +01:00
Jake Howard 7105386e61
Use direct mastodon host for verification 2023-07-20 22:02:02 +01:00
Jake Howard c5d04240b1
Add styles to feeds
Copied from https://darekkay.com/blog/rss-styling/
2023-07-16 14:30:08 +01:00
Jake Howard f90c25d132
Add mastodon verification link 2023-07-03 08:53:25 +01:00
Jake Howard cbd1eb027b
Add "View all" button for similar content 2023-06-21 12:53:37 +01:00
Jake Howard e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
Jake Howard e0f3ab3311
Hide similar content in preview 2023-06-03 15:27:17 +01:00
Jake Howard e8cd4f6628
Add tests for post similarity 2023-06-02 17:39:42 +01:00
Jake Howard b7bcaeff63
Use `alias` instead of annotate for intermediary similarity values 2023-06-02 17:35:20 +01:00
Jake Howard 033b8be859
Cast count to float before dividing
`COUNT` returns a `bigint`, which can't be divided into a float
2023-06-02 17:34:10 +01:00
Jake Howard 6ab0ff3fa7
Add similar content based on text Trigram similarity 2023-06-02 15:33:15 +01:00
Jake Howard e504da0bcf
Restyle code block header
This looks much nicer, and removes a DB field.
2023-04-19 21:34:38 +01:00
Jake Howard 66465dafe8
Index tags and boost subtitle 2022-10-31 20:59:24 +00:00
Jake Howard b6fa67163f
Only show ToC if there are enough items 2022-10-29 14:57:12 +01:00
Jake Howard a031adefda
Add tag list button to post list hero 2022-10-29 13:22:21 +01:00
Jake Howard 9cfa369d56
Replace tags menu item with dashboard item 2022-10-23 20:30:17 +01:00
Jake Howard c8f01870d4
Use simpler listing on tag list page 2022-10-21 17:20:58 +01:00
Jake Howard db6dd80385
Remove ToC from blog list page
Showing an accurate ToC is complex alongside pagination
2022-10-21 16:56:40 +01:00
Jake Howard 549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
Jake Howard b515b6368c
Optimise for cache hits
Don't select/prefetch for listing, because we cache the entire listing item. This makes the main query more efficient, thus page loads faster.
2022-10-04 20:49:29 +01:00
Jake Howard ac30206e97
Fix pagination controls showing up 2022-09-25 21:06:43 +01:00
Jake Howard e4476e1b2a
Ensure heading ids are always valid ids 2022-09-23 15:36:23 +01:00
Jake Howard bee03a8e64
Add link to tags list to tags on content details 2022-09-23 08:45:17 +01:00
Jake Howard 6c481672c4
Improve margin around blog post date headers 2022-09-21 14:18:35 +01:00
Jake Howard bccc948995
Restructure fields in editor pages
Move as much as possible out of the "Content" tab, so that's just about
the actual content
2022-09-21 13:30:06 +01:00
Jake Howard 82701a706c
Show blog list ToC with newest first 2022-09-20 09:54:26 +01:00
Jake Howard 997da9779c
Link to admin posts list, not the posts page itself 2022-09-19 21:40:40 +01:00
Jake Howard 77e34cbf02
Show number of blog posts on admin dashboard 2022-09-15 08:54:23 +01:00
Jake Howard 8b027206b1
Add comments and sharing to all content pages
Listing pages already have this block overwritten for pagination
controls
2022-09-08 14:37:18 +01:00
Jake Howard 63909a31c0
Add iframe block 2022-09-08 14:31:01 +01:00
Jake Howard 71f74251bb
Don't require code header 2022-09-06 08:58:44 +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 ee307bcfbf
Define rich text features in settings
This removes them from migrations, avoiding the need to create new ones
when they change
2022-09-03 21:07:27 +01:00
Jake Howard a053e27833
Use richtext for subtitle 2022-09-03 17:00:09 +01:00
Jake Howard 6d60cedc6f
Add comments 2022-09-02 08:27:42 +01:00