Commit graph

147 commits

Author SHA1 Message Date
e096dd8cf5
Install curlylint 2022-08-03 20:34:18 +01:00
668bcc7d5b
Add sitemap 2022-08-02 22:20:36 +01:00
bc18764ccf
Hide "to top" footer buttons on homepage
The homepage doesn't scroll, so it's a bit pointless
2022-08-02 22:10:34 +01:00
cdb037a9c8
Remove django admin 2022-08-02 21:33:48 +01:00
96e623e3db
Move serializer to different file 2022-08-02 21:28:51 +01:00
809cc5d454
Require search results be HTMX 2022-08-02 21:22:35 +01:00
996f7b9c2a
Add all the relevant search messages 2022-08-02 21:11:35 +01:00
bcc9a2c2f2
Add search results counter 2022-08-02 09:27:43 +01:00
7647ace4a0
Add a loading spinner 2022-08-01 22:23:06 +01:00
5b4ff2b4e9
Only allow GET for search results 2022-08-01 21:42:06 +01:00
750ed5aa39
Remove unnecessary method 2022-08-01 21:27:40 +01:00
93030852b5
Do search if querystring is provided 2022-08-01 21:23:55 +01:00
fb78f3f993
Use HTMX for search page 2022-07-31 15:28:48 +01:00
53123ad93e
Install django-htmx 2022-07-29 23:00:44 +01:00
5da96236be
Add a basic search input to search page 2022-07-29 22:49:08 +01:00
2ae2a2c158
Show message when there's no search terms 2022-07-29 22:34:48 +01:00
c4109e42f1
Use serializer to validate search params 2022-07-29 16:50:44 +01:00
3bce2fb880
Exclude some page types from search 2022-07-29 09:18:09 +01:00
ef30a91067
Move page size to model 2022-07-29 09:11:14 +01:00
11932fa49e
Don't show code in plaintext 2022-07-29 09:11:04 +01:00
cf0a365277
Ensure additional content fields get indexed 2022-07-28 23:06:11 +01:00
86c9ac5e7f
Automatically rebuild site indexes in local dev 2022-07-28 22:41:11 +01:00
a0f115fdc4
Add the basics of a search view 2022-07-28 22:40:23 +01:00
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
e2e0144b6a
Setup gunicorn for production WSGI server 2022-07-28 14:53:22 +01:00
b92f2f4043
Add a Wagtail search page
It doesn't do any searching, yet
2022-07-26 08:53:49 +01:00
0601ced3f5
Add indexes to snippets 2022-07-26 08:41:40 +01:00
0c3b6633bd
Allow there to be no blog posts for homepage 2022-07-25 22:01:08 +01:00
f8d5cc5ba5
Add feeds to blog list pages 2022-07-25 21:58:06 +01:00
9288f97381
Remove redundant condition 2022-07-25 20:10:49 +01:00
e7617f24de
Populate latest blog post on homepage 2022-07-25 20:02:54 +01:00
71c08f5568
Use class name rather than database name for body classes
This avoids duplication and makes the classnames a bit shorter, and more sane.
2022-07-25 19:30:47 +01:00
ba7a2d7b4d
Use SVG versions of mermaid diagrams for better quality 2022-07-20 23:31:02 +01:00
fafc0e8828
Simplify navbar styling and disable variants 2022-07-20 21:54:09 +01:00
10094515da
Add the basics of a contact page with accounts list 2022-07-20 09:15:20 +01:00
9b7a2b2c21
Move accounts snippet to new contact app 2022-07-20 09:15:12 +01:00
675d3f38b9
Ensure tags menu item works when the list page doesn't exist 2022-07-20 08:41:40 +01:00
85afe6c41b
Add alt tags to image blocks 2022-07-16 16:04:06 +01:00
c110318608
Test all pages have templates 2022-07-16 15:50:01 +01:00
6b96688adb
Add the concept of post collections
For things which are a fixed series (eg yearly repeats)
2022-07-16 15:45:57 +01:00
2ae8ec7045
Optimise getting blog posts for a tag
Because we can guarantee there's only 1 `BlogListPage`, the query becomes much simpler
2022-07-16 10:44:48 +01:00
dddecae190
Show content on listing pages 2022-07-16 10:39:20 +01:00
3306ec4e5a
Fix resolving parent pages
The order is actually correct for what we want. Also update the type
2022-07-16 10:29:47 +01:00
690095ea52
Replace tag snippets with full pages
Makes the page tree a bit more messy, but is much more versatile and means there are fewer hacks in the code to make snippets act like pages in the tree.
2022-07-16 10:29:01 +01:00
153b2c0c59
Revert "Add an actual cache for local development"
This reverts commit 8a4d91fecb.

This actually makes things very annoying
2022-07-16 01:18:45 +01:00
1326214c8f
Rename namespace for static pygments URL 2022-07-16 01:13:48 +01:00
78660500a5
Add tag filtered view to blog list 2022-07-16 00:56:20 +01:00
781870321e
Add snippet links to plain and simple rich text fields 2022-07-15 10:12:15 +01:00
8b16d94bc8
Add tests for steamfield and richtext lists 2022-07-15 10:11:02 +01:00
feba307de7
Add mermaid embed 2022-07-15 10:10:37 +01:00