Commit graph

52 commits

Author SHA1 Message Date
Danielle McLean c517baac1c
Serve avatar locally rather than through Libravatar, it'll perform better and doesn't require the image's size to be messed with 2017-10-09 23:34:56 +11:00
Danielle McLean 3b58b57cc5
Pretty up the login page to match everywhere else 2017-10-09 20:30:50 +11:00
Danielle McLean 0e80d93994
Nicer layout for h-entry, with cute icons 2017-10-09 19:54:58 +11:00
Danielle McLean 03cd1487fe
Add the entry-kind pages and the actual entries to the generated sitemap 2017-10-09 15:40:58 +11:00
Danielle McLean 41375abdd4
Add the main entry kinds to the navbar 2017-10-09 14:03:42 +11:00
Danielle McLean 1b8a07a5f6
Simplify site title handling, automatically suffix site title to all pages 2017-10-09 13:50:26 +11:00
Danielle McLean 4088735c69
Add support for Atom and RSS content feeds - this info is available through mf2 anyway so Atom and RSS are kinda redundant, but we'll include them anyway 2017-10-09 13:32:13 +11:00
Danielle McLean 764935adbd
Add schema.org/BreadcrumbList support (grossss) 2017-10-09 12:14:14 +11:00
Danielle McLean 2fd0ff850b
Set title for EntriesR 2017-10-09 10:08:23 +11:00
Danielle McLean c554715df7
Enable breadcrumbs for EntriesR and EntryR 2017-10-09 10:03:03 +11:00
Danielle McLean 934457f671
Pretty up the h-entry as a Bootstrap card 2017-10-09 09:55:34 +11:00
Danielle McLean 7cebf92356
Add permalinks to h-entries 2017-10-09 09:02:42 +11:00
Danielle McLean 9679234062
Add slugs to entries and use them to create individual entry routes 2017-10-09 08:51:42 +11:00
Danielle McLean 36dea2b5ad
Adjust home layout: push my h-card over to the side and display recent entries in the main content area 2017-10-08 17:19:22 +11:00
Danielle McLean 3ff560e07e
Rename the h-card implementation to match up with the naming of h-feed and h-entry 2017-10-08 16:55:21 +11:00
Danielle McLean 4b7a8a7198
Begin adding rudimentary support for posting new entries to the site - needs to be prettier and a lot smarter, but it exists now 2017-10-08 16:51:48 +11:00
Danielle McLean 92373fcfa5
Simplify navbar implementation - this will also allow seamlessly adding a third, centred nav if desired 2017-10-06 14:43:00 +11:00
Danielle McLean 1c4212f5d0
Bring back menu items for logging in and out 2017-10-06 14:23:42 +11:00
Danielle McLean ea47fb8b50
Change the login form to a Bootstrapped one - still needs some colours tweaked though 2017-10-06 12:32:27 +11:00
Danielle McLean f934632484
Enable simple username+password login - ugly but serviceable 2017-10-06 10:38:10 +11:00
Danielle McLean e141fb4666
Actually set the 'author' meta correctly in the page head 2017-10-05 23:09:44 +11:00
Danielle McLean 2eec12a2e3
Ditch the hash field on PGP keys - the ETag will handle cache-busting, so a nice short URL for the key is fine now 2017-10-05 21:33:44 +11:00
Danielle McLean ddcca3104e
Add a utility function, staticR, which can dynamically build StaticR routes with their ETags attached (still calculated at compile-time) 2017-10-05 21:26:29 +11:00
Danielle McLean 4692e78503
Add a package.json, load generator info from it instead of from settings.yml 2017-10-05 16:19:15 +11:00
Danielle McLean 062dd10b99
Display lebd version info in the footer next to the license info 2017-10-05 09:58:32 +11:00
Danielle McLean 8c3a562c7d
Add support for generating an XML sitemap 2017-10-05 09:16:26 +11:00
Danielle McLean 1c5939d863
Remove approot-guessing support, since it should always be configured in the app settings 2017-10-05 09:01:35 +11:00
Danielle McLean d32b698545
Remove unused CSRF-handling JS from the layout, we'll probably not be making AJAX requests here anyway 2017-10-05 07:49:58 +11:00
Danielle McLean 69e3d7f267
Use a much shorter scheme for constructing PGP key URLs - hashes are now MD5 in base64, which isn't secure but doesn't need to be since it's just for cachebusting 2017-10-05 01:24:44 +11:00
Danielle McLean ad6d783dea
Refactor libravatar invocation into a separate function + tell it not to try Gravatar 2017-10-04 10:37:37 +11:00
Danielle McLean 25a1e00cd7
Add a u-uid to the h-card to ensure the h-card is considered representative 2017-10-04 10:07:51 +11:00
Danielle McLean 484609fb8b
Add support for PGP keys on the h-card - can support an arbitrary number of keys, although I only have one 2017-10-04 09:09:39 +11:00
Danielle McLean 2b4822093a
Set page title on the homepage to the site-wide title 2017-10-03 21:53:29 +11:00
Danielle McLean b89e3a67e2
Ugh. Add missing isAuthorized clause for the new keybase.txt route 2017-10-03 20:51:01 +11:00
Danielle McLean 023b720be7
Add keybase.txt support 2017-10-03 20:41:26 +11:00
Danielle McLean a070ceef3c
Clean up user entity - remove unused fields, adjust order 2017-10-03 14:52:23 +11:00
Danielle McLean 4023b17e85
Retrieve the associated sites for all profiles in one query when rendering the h-card 2017-10-03 14:21:08 +11:00
Danielle McLean a2a0ec5127
Remove unused Profile controller, from the scaffolding 2017-10-03 13:37:24 +11:00
Danielle McLean 0a230e7644
Remove unused Comment functionality from the scaffolding 2017-10-03 13:31:53 +11:00
Danielle McLean 208a46e346
Add a p-note to the h-card 2017-10-03 13:17:34 +11:00
Danielle McLean e81a44d122
Add support for social profiles on the h-card, which become rel="me" links 2017-10-03 12:53:13 +11:00
Danielle McLean 64c4aab14b
Use Libravatar rather than tracking avatars internally 2017-10-03 11:48:44 +11:00
Danielle McLean 006264e77f
Create an h-card widget and display my h-card on the homepage - needs more info but it's a good start 2017-10-03 00:52:14 +11:00
Danielle McLean 9b6305f8c9
Start designing a Bootstrap v4 based site layout, it's boring so far but the navbar is okay? 2017-10-02 22:33:32 +11:00
Danielle McLean 3d4c21e18e
Add a site-wide title 2017-10-02 22:04:20 +11:00
Danielle McLean b0d997dabc
Rename the widget files for the Home handler to also be called 'home' 2017-10-02 21:49:04 +11:00
Danielle McLean 85f3147e88
Begin ripping out unwanted sample content - this strips the homepage down to a single empty page you can't POST to 2017-10-02 21:47:58 +11:00
Danielle McLean 058807dd2a
Insist on lots of newlines in the generated HTML 2017-10-02 21:39:17 +11:00
Danielle McLean 0f8a553b51
Remove the copyright setting from settings.yml and put it in the layout directly, since it needs to contain HTML (a link to the license) 2017-10-02 21:23:10 +11:00
Danielle McLean 1794e63bb0
Restore the staticRoot option from older versions of Yesod's scaffolding, so I can host static files on a subdomain easily 2017-10-02 20:31:49 +11:00