Commit Graph

100 Commits

Author SHA1 Message Date
c36f24b212
Use heading for simple list items 2024-01-05 16:24:25 +00:00
c8885d19d3
Use correct heading tag for date subtitles 2024-01-05 16:17:12 +00:00
518461a88f
Use wagtail's new built-in cache tags
They're good, because I wrote them
2024-01-05 15:44:45 +00:00
48e36bc5b9
Update to Wagtail 5.2 (and others) 2024-01-05 15:30:31 +00:00
7a4aaca82c
Add posts count to tag list 2023-12-25 23:28:44 +00:00
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
34dcf63a93
Add tags to feed 2023-11-29 14:30:13 +00:00
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
520614a3c5
Move "view all" link above similar content
Easier to see
2023-10-16 21:35:58 +01:00
0931217e74
Add support pill 2023-08-29 22:19:41 +01:00
7105386e61
Use direct mastodon host for verification 2023-07-20 22:02:02 +01:00
c5d04240b1
Add styles to feeds
Copied from https://darekkay.com/blog/rss-styling/
2023-07-16 14:30:08 +01:00
f90c25d132
Add mastodon verification link 2023-07-03 08:53:25 +01:00
cbd1eb027b
Add "View all" button for similar content 2023-06-21 12:53:37 +01:00
e4a8fbd14f
Remove blank line in migrations
Keep `black` happy
2023-06-17 12:49:31 +01:00
e0f3ab3311
Hide similar content in preview 2023-06-03 15:27:17 +01:00
e8cd4f6628
Add tests for post similarity 2023-06-02 17:39:42 +01:00
b7bcaeff63
Use alias instead of annotate for intermediary similarity values 2023-06-02 17:35:20 +01:00
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
6ab0ff3fa7
Add similar content based on text Trigram similarity 2023-06-02 15:33:15 +01:00
e504da0bcf
Restyle code block header
This looks much nicer, and removes a DB field.
2023-04-19 21:34:38 +01:00
66465dafe8
Index tags and boost subtitle 2022-10-31 20:59:24 +00:00
b6fa67163f
Only show ToC if there are enough items 2022-10-29 14:57:12 +01:00
a031adefda
Add tag list button to post list hero 2022-10-29 13:22:21 +01:00
9cfa369d56
Replace tags menu item with dashboard item 2022-10-23 20:30:17 +01:00
c8f01870d4
Use simpler listing on tag list page 2022-10-21 17:20:58 +01:00
db6dd80385
Remove ToC from blog list page
Showing an accurate ToC is complex alongside pagination
2022-10-21 16:56:40 +01:00
549a48769d
Swap curlylint and djhtml with djlint 2022-10-05 14:17:00 +01:00
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
ac30206e97
Fix pagination controls showing up 2022-09-25 21:06:43 +01:00
e4476e1b2a
Ensure heading ids are always valid ids 2022-09-23 15:36:23 +01:00
bee03a8e64
Add link to tags list to tags on content details 2022-09-23 08:45:17 +01:00
6c481672c4
Improve margin around blog post date headers 2022-09-21 14:18:35 +01:00
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
82701a706c
Show blog list ToC with newest first 2022-09-20 09:54:26 +01:00
997da9779c
Link to admin posts list, not the posts page itself 2022-09-19 21:40:40 +01:00
77e34cbf02
Show number of blog posts on admin dashboard 2022-09-15 08:54:23 +01:00
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
63909a31c0
Add iframe block 2022-09-08 14:31:01 +01:00
71f74251bb
Don't require code header 2022-09-06 08:58:44 +01:00
e21d525259
Reset migrations
During dev I made loads, but I don't need them now
2022-09-04 15:56:51 +01:00
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
a053e27833
Use richtext for subtitle 2022-09-03 17:00:09 +01:00
6d60cedc6f
Add comments 2022-09-02 08:27:42 +01:00
488369a247
Add filename and header show checkbox to code block 2022-08-31 22:30:08 +01:00
442aeb21b8
Use singleton URL cache 2022-08-28 20:22:55 +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