Commit graph

38 commits

Author SHA1 Message Date
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 5555cdfd1e
Render the entry content to HTML when syndicating it as Atom or RSS 2017-11-01 09:32:42 +11:00
Danielle McLean 730a2bcb9d
Added support for RSS and Atom feeds, because why not 2017-11-01 09:29:59 +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 91fc632703
Tweak the styling of entry footers 2017-10-31 14:05:34 +11:00
Danielle McLean 8a9f41759e
Add a field site.domain, so that profiles can be labeled as username@domain, WebFinger style 2017-10-31 13:47:47 +11:00
Danielle McLean 52106f1d3f
Make shortlinks discoverable by displaying them on each entry, with extraneous bits trimmed out 2017-10-30 14:59:02 +11:00
Danielle McLean 3f4c5bbc11
Replace use of abandoned rev="canonical" with rel="shortlink" 2017-10-30 10:03:08 +11:00
Danielle McLean 75ed4503c8
Make some little quality-of-life improvements to the Django admin for my models 2017-10-29 22:44:11 +11:00
Danielle McLean 63b0ec45e9
Keep images in entry content inside the card, oops 2017-10-29 19:39:31 +11:00
Danielle McLean 7027c74035
Install django-shorturls to generate simple shortpermalinks for entries :3 2017-10-29 12:56:30 +11:00
Danielle McLean 21786d6e6c
Install django-annoying, which provides some nice shortcuts for common operations 2017-10-29 12:41:33 +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 85be02c7d2
Fix appearance of kind-specific feed pages 2017-10-27 20:43:56 +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 d8a6dbf2bf
Use the entry.title property to set the page title 2017-10-27 17:45:38 +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 ecdd63b9d7
Add a redirect to entry permalink pages, to ensure entries are only ever accessed at their canonical URL 2017-10-27 16:23:31 +11:00
Danielle McLean 9bd6bc3d1c
Use a much cleaner approach to register routes for each post kind 2017-10-27 16:22:54 +11:00
Danielle McLean aec22e813d
Basic support for entries of 'photo' kind 2017-10-27 16:04:05 +11:00
Danielle McLean 67308911fb
Apply a bit of margin between the h-entry footer fields 2017-10-27 08:55:51 +11:00
Danielle McLean 824aaa1e57
Make a few database performance optimisations 2017-10-27 08:52:26 +11:00
Danielle McLean 8f8e53bb27
Switch from django-markdown-deux to a pipeline thru markdown for rendering + bleach for sanitising 2017-10-26 14:40:29 +11:00
Danielle McLean 159528c603
Fix list styling inside h-entry so it looks the same regardless of whether you're on a permalink or feed page 2017-10-26 09:46:38 +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 dc99e7a39b
Add posted entries to the sitemap 2017-10-26 08:46:48 +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 e88b631cdb
Enable Markdown rendering support for user notes and entry content 2017-10-25 13:25:58 +11:00
Danielle McLean 60cd6c911b
Add entries to the homepage, and make style tweaks so everywhere looks right 2017-10-25 12:55:24 +11:00
Danielle McLean 172f0d4753
Lots of style fixes - the kind-specific feeds and the permalink pages now look great 2017-10-25 12:46:04 +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