32f1360362
Reflow HTML based on updated djlint
2023-05-05 13:09:16 +01:00
aeb683fa7a
Back arrow should be on the left
2023-05-05 12:40:22 +01:00
b620e0edcc
Add search link to 404 page
2023-05-05 12:39:39 +01:00
d52d532d81
Disable plausible on 404 and page protection pages
2023-05-05 12:29:25 +01:00
e504da0bcf
Restyle code block header
...
This looks much nicer, and removes a DB field.
2023-04-19 21:34:38 +01:00
6342726d7c
Change footer settings to generic setting
2023-04-16 15:18:21 +01:00
8b37b87a92
Don't show share buttons in preview
2023-04-16 15:05:10 +01:00
f055517cc1
Update to Wagtail 4.1
2023-04-16 15:04:51 +01:00
9bc5ccbbdc
Don't include the first tangent in the content HTML
...
This prevents it being used as part of the summary, which in the case of updates looks strange.
2023-04-11 14:05:46 +01:00
68604e0438
Remove rarely used share platforms and make them all links
...
This means they all get `href`s rather than being buttons with click handlers, making them easier to use.
2023-03-10 16:45:43 +00:00
8469f1db1f
Don't show comments in preview mode
2023-03-10 16:10:47 +00:00
83bc0d2ffb
Fix length calculation for posts
...
`smart_split` isn't quite what's needed for splitting words.
2023-03-10 16:08:03 +00:00
0069af1233
Only stick header on desktop
...
On mobile, it takes up a huge amount of the viewport
2022-10-31 14:09:48 +00:00
dc02e989e1
Fix number of queries
2022-10-30 13:39:02 +00:00
1eb14f3fb5
Ensure feed titles reference the full site
2022-10-30 12:53:35 +00:00
fe3c741347
Construct HTML title in Python
...
Site is cached, and makes it easier to reference elsewhere
2022-10-30 12:53:15 +00:00
0ac4fd1135
Don't fill full width in lightbox
2022-10-29 16:25:51 +01:00
bb8c40f72e
Use sri_static tag for dark mode
2022-10-29 15:19:58 +01:00
7ed5255b69
Add cache around navbar and footer
...
Intentionally outside the tag as generating the context does queries
2022-10-29 15:14:39 +01:00
0e20ad3269
Fix query numbers based on guestbook heading
2022-10-29 15:02:41 +01:00
b6fa67163f
Only show ToC if there are enough items
2022-10-29 14:57:12 +01:00
2fbc96946d
Ensure dark mode toggle is always in the corner
2022-10-29 14:50:53 +01:00
c0ba7bc62e
Add guestbook link
2022-10-29 14:50:01 +01:00
394d9028ba
Fix spacing for footer icons
2022-10-24 20:45:07 +01:00
0971fcd8a3
Account for spaces after tags when extracting text
2022-10-21 17:46:13 +01:00
c8f01870d4
Use simpler listing on tag list page
2022-10-21 17:20:58 +01:00
26fabf3a43
Ensure tags are sorted
2022-10-21 17:11:15 +01:00
549a48769d
Swap curlylint and djhtml with djlint
2022-10-05 14:17:00 +01:00
315412ff5d
Remove unused import and update query count
2022-10-05 09:23:58 +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
fa85c8ba80
Cache fragments for longer, and clear when editing page
2022-10-04 20:14:26 +01:00
9096bd4b0b
Fix sizing of content images
2022-10-02 22:38:10 +01:00
8844aad247
Disallow API from being indexed
2022-10-02 19:20:40 +01:00
6d0c25128c
Always disallow wagtail admin
2022-10-02 19:17:33 +01:00
197f2ea0aa
Move cache handling to views
2022-10-02 18:53:51 +01:00
23b8454fe4
Add template caching for listing components
2022-10-02 17:27:55 +01:00
6775a336e1
Revert "Add the ability to cache model attributes in redis"
...
This reverts commit 7c008c2149
.
2022-10-02 16:17:55 +01:00
7c008c2149
Add the ability to cache model attributes in redis
...
This not only means they persist longer than the instance, but can also be shared between processes. This is especially useful for list pages, as rendering content for summaries etc is quite expensive
2022-09-29 22:59:23 +01:00
d1523a886b
Use fira-code package with support for font-display
2022-09-29 21:05:19 +01:00
f2e2719647
Add title to navbar icon links
2022-09-29 20:55:43 +01:00
e05d2675d5
Add blank alt tag to hero image
2022-09-29 20:55:35 +01:00
e7037d01b0
Remove stray description tag
2022-09-29 20:42:25 +01:00
1f5e151314
Ignore more blocks when getting plaintext
2022-09-25 21:54:02 +01:00
92f1a17b9f
Always show pagination buttons
2022-09-25 21:10:35 +01:00
79c9550ee2
Make sure commento works in dark mode
2022-09-23 17:27:03 +01:00
dcb8162517
Ensure tags use code font
2022-09-23 16:44:22 +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
4b10ce6f6f
Restyle content details to be icons rather than tags
...
This looks much nicer, and is simpler to work with
2022-09-23 08:34:49 +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