Commit graph

73 commits

Author SHA1 Message Date
Danielle McLean db16b0d2a7
Use <aside> for the big h-card on the homepage rather than <div>, and mark it up as a p-author 2017-10-15 03:13:12 +11:00
Danielle McLean e24e7db641
Render entryContent as Markdown too :3 2017-10-15 01:12:18 +11:00
Danielle McLean 805e422eba
Render the p-note as Markdown - this is mostly useful because it means other h-card fields can be defined inside it 2017-10-15 01:00:12 +11:00
Danielle McLean fa110ae820
Support setting an fb:app_id in settings.yml 2017-10-14 17:22:07 +11:00
Danielle McLean 2956550a6c
Mark up entry permalink pages with OpenGraph garbage too 2017-10-14 17:09:27 +11:00
Danielle McLean 47fe00a8b8
Support for Open Graph on the homepage - again it's gross but consuming sites understand it 2017-10-14 16:51:01 +11:00
Danielle McLean 44288b419c
Put the <link>s for PGP keys into the page header instead of the h-card itself, since it's invalid HTML to have <link> in the body 2017-10-14 15:35:16 +11:00
Danielle McLean c184136f8a
Remove unnecessary templates for Handler.Entries - this allows it not to use TH at all :) 2017-10-14 15:04:01 +11:00
Danielle McLean 8099912fdc
Put p-name on the e-content element as well if there's no actual entry name 2017-10-13 23:07:17 +11:00
Danielle McLean a0b8425911
Change the alt on user avatars so it's just the user's name without 'Avatar for', since the h-entry parser infers that the alt is the user's name 2017-10-13 22:47:53 +11:00
Danielle McLean fa992bc861
Make entry names optional, since notes shouldn't have names and articles should 2017-10-11 23:34:36 +11:00
Danielle McLean 10b1ed834a
Display an adorable tiny sparkline-style avatar for the p-author on each h-entry 2017-10-11 23:09:22 +11:00
Danielle McLean e69202829a
Add an /avatars/#UserId route which redirects to the user's current avatar every time, so you don't need to update remote references to it 2017-10-11 21:38:53 +11:00
Danielle McLean 3830bed42e
Remove the gross schema.org attributes from the h-card, since mf2 provides the same information in a nicer format anyway 2017-10-11 13:19:13 +11:00
Danielle McLean 0055a4160b
Use an Esqueleto query to efficiently fetch and render the user profiles on h-cards, rather than several queries and lots of fussing around 2017-10-11 13:16:47 +11:00
Danielle McLean 5f4e94bfd2
Show the exact published and updated times of each h-entry as [title]s 2017-10-11 00:14:08 +11:00
Danielle McLean 09731053c2
Support non-fa site icons by giving sites an actual name separate from their icon class 2017-10-10 22:41:49 +11:00
Danielle McLean 18ffe8ea4d
A little CSS meddling so that OpenWeb icons line up with the Font Awesome ones 2017-10-10 22:41:08 +11:00
Danielle McLean 41539fe979
Load the OpenWeb Icons - they're not being used anywhere yet but will be very soon, since they include Mastodon, XMPP, and indieweb icons 2017-10-10 22:26:32 +11:00
Danielle McLean 401c544ef1
Add support for u-syndication of each entry, tracking where else it's been posted 2017-10-10 19:45:31 +11:00
Danielle McLean b52a055543
Add support for displayName to profiles, so that ugly user IDs on sites like Stack Exchange can be hidden 2017-10-10 15:23:30 +11:00
Danielle McLean bbe563dee7
Use Mustache templates for site URL so that the username can be inserted anywhere in the template rather than only at the end 2017-10-10 15:16:50 +11:00
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 400c9ca8b4
Tweak heights and margins on the home page so the h-card aligns perfectly with the h-entries 2017-10-09 20:18:46 +11:00
Danielle McLean 05c512de46
Make the home layout work properly on narrow screens 2017-10-09 20:06:19 +11:00
Danielle McLean 0e80d93994
Nicer layout for h-entry, with cute icons 2017-10-09 19:54:58 +11:00
Danielle McLean b121d461e2
Apply the main content margin in the default-layout stylesheet rather than individually on every page 2017-10-09 14:10:38 +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 1f1108a886
Make h-entries look WAY better, the home page looks great now 2017-10-09 12:28:44 +11:00
Danielle McLean 764935adbd
Add schema.org/BreadcrumbList support (grossss) 2017-10-09 12:14:14 +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 a0dd673af7
Add a few more useful rels to the layout's links 2017-10-06 15:04:46 +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 526e105b8b
Pretty up the breadcrumbs since you can see them now 2017-10-06 14:31:34 +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 e141fb4666
Actually set the 'author' meta correctly in the page head 2017-10-05 23:09:44 +11:00
Danielle McLean edd82eff55
Add schema.org microdata to the h-card - it's basically a worse way to express the same information, but it's what search engines understand :/ 2017-10-05 22:39:16 +11:00
Danielle McLean 43a1bb4a79
Fix the tag format in the repository URL - I thought npm version didn't include the leading v but it does 2017-10-05 16:25:28 +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 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 bac575b140
Remove useless rel="me" from u-uid and u-key - the former adds no information and the latter can't be verified 2017-10-05 01:16:53 +11:00
Danielle McLean 7e4de762a5
Pick a more appropriate Links Blue for the dark background 2017-10-04 16:50:12 +11:00