Commit Graph

25 Commits

Author SHA1 Message Date
Danielle McLean 75e08aa1b2
Reduce number of queries required to render an entries list, especially the home page 2018-01-24 13:18:22 +11:00
Danielle McLean 40ead1bbe1
Provide simple support for fetching entries in AMP format - can't handle images yet and needs some other tweaks, but works nicely so far c: 2018-01-13 14:49:38 +11:00
Danielle McLean ea241577f1
Smarter generation of OGP/Schema.org/etc. metadata, with HTML tags stripped out so the result looks nice and clean 2017-12-11 13:30:46 +11:00
Danielle McLean b63e2db584
Add cats to the admin and give them a more useful string representation 2017-11-20 11:37:36 +11:00
Danielle McLean 3ca2af74bb
Rename tags to 'cats', a silly catgirl pun on 'categories' 2017-11-20 11:09:30 +11:00
Danielle McLean 1a6ec02664
Add basic support for tags on entries :3 cool beans 2017-11-20 10:59:03 +11:00
Danielle McLean e72a6b01f0
Start implementing reply context! It's ugly and doesn't actually link the original post yet but you *can* see the original post's author and content :3 2017-11-16 21:52:42 +11:00
Danielle McLean 28e4a71cae
Begin implementing support for replies, likes, and reposts - there's a DB field for storing the original post's URL, but it's not actually used yet 2017-11-13 08:42:31 +11:00
Danielle McLean 1e56d5a09a
Install django-model-utils and use it for automatic timestamp fields on entries 2017-11-02 12:59:23 +11:00
Danielle McLean 7090db3c37
Add JSON-LD support to entries too, mostly so Google can understand the site a little better 2017-10-31 14:51:50 +11:00
Danielle McLean 5987e54105
Simplify entry routing by using one route with an optional slug for permalinks, rather than a route with a slug and a route without 2017-10-28 14:01:31 +11:00
Danielle McLean 9df4cb1eca
Actually, let the entry title extend to 100 chars if it wants 2017-10-27 19:50:29 +11:00
Danielle McLean d2b7ed5d02
Whoops, filter out the separators between paragraphs when calculating entry.paragraphs 2017-10-27 19:49:22 +11:00
Danielle McLean 08b44ccee6
Figured out how to do both title and description without getting duplication :3 2017-10-27 19:41:25 +11:00
Danielle McLean 8853e42508
Only use entry.excerpt as a description if it wasn't already used as a title 2017-10-27 19:07:28 +11:00
Danielle McLean 8814e60624
Clean up URL handling for models a li'l 2017-10-27 16:51:46 +11:00
Danielle McLean 4ac0bcde43
Implement simple 'excerpt' feature to shorten each entry's content for syndicated preview 2017-10-27 16:42:49 +11:00
Danielle McLean aec22e813d
Basic support for entries of 'photo' kind 2017-10-27 16:04:05 +11:00
Danielle McLean 824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
Danielle McLean f39782346f
Make entry kinds a teeny bit easier to manage by moving some of the smarts into the actual kinds.Entry class 2017-10-26 09:01:36 +11:00
Danielle McLean 747c053c89
Default to the author's avatar when picking the image for an entry, we will support u-photo later on but we don't just yet 2017-10-25 14:06:12 +11:00
Danielle McLean 0d520c0fd8
Add basic django-meta support to entries too 2017-10-25 14:04:22 +11:00
Danielle McLean 9adbe012d6
Basic support for tracking entry syndication 2017-10-25 13:45:33 +11:00
Danielle McLean 2b6691f8a5
Rudimentary but fully-functional entry permalink pages :3 2017-10-25 12:31:08 +11:00
Danielle McLean 950459cd5f
Very, very rudimentary support for making h-entries: they don't look so good and don't appear on the homepage yet but it's a good start 2017-10-25 12:01:52 +11:00