Commit graph

85 commits

Author SHA1 Message Date
Danielle McLean 3c072d174a
Actually, uh, write the styles correctly for the previous commit's change -_- 2017-10-16 23:07:10 +11:00
Danielle McLean eb23583876
Remove the bottom margin from h-feeds so they line up with the h-card properly 2017-10-16 23:02:27 +11:00
Danielle McLean db32b02811
Properly set p-name on h-feeds, rather than trying to infer it and getting awful names 2017-10-16 22:40:35 +11:00
Danielle McLean 46c393552a
Take out the Google Analytics stuff, since I'm not using it and I'm probably not gonna use it 2017-10-16 22:23:50 +11:00
Danielle McLean bd1fe8fbd8
Make the navbar expand on medium screen widths too 2017-10-16 22:22:18 +11:00
Danielle McLean 99049a88ef
Give code a nice dark colour scheme like the stuff around it 2017-10-16 21:25:17 +11:00
Danielle McLean 6f18f1b5d8
Fix sticky author card so it works in Chrome (it may also have been broken in FF oops) 2017-10-16 13:27:32 +11:00
Danielle McLean 7f7f64c8b5
Mark up h-entries with schema.org/BlogPosting as well. It's so gross compared to h-entry oh my god. 2017-10-16 09:07:08 +11:00
Danielle McLean bf970db801
Add an optional photo field to entries, which becomes a card-topping u-photo when displayed 2017-10-16 08:29:21 +11:00
Danielle McLean cdda4e2eee
Put the schema.org/Person stuff back. I decided to include friggin' Facebook's metadata approach, so this isn't that unreasonable 2017-10-15 22:42:33 +11:00
Danielle McLean 62920930b5
Use an <article> for the big h-card rather than a <div> - it provides a teeny bit more info and is still semantically correct 2017-10-15 22:08:32 +11:00
Danielle McLean 656da87e19
Keep the .author class on the <aside> containing the h-card, rather than trying to use .p-author directly 2017-10-15 03:29:49 +11:00
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