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
a0004946d6
Avoid rendering Markdown when pushing entry content into the og:description, and also, add the standard meta description and meta author
2017-10-15 22:34:05 +11:00
3b00565bda
Set the meta description from the big h-card to match the og:description
2017-10-15 22:33:13 +11:00
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
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
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
068ce7a41c
Slightly more efficient implementations of Model.Entry.Shorten
2017-10-15 02:37:37 +11:00
940b62b6fc
Remove unused category ID binding to avoid compiler warnings
2017-10-15 01:41:46 +11:00
e24e7db641
Render entryContent as Markdown too :3
2017-10-15 01:12:18 +11:00
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
012c62dd09
Fix inconsistent formatting of package version constraints
2017-10-15 00:10:35 +11:00
568b5dc036
1.5.0
2017-10-14 17:32:52 +11:00
fa110ae820
Support setting an fb:app_id in settings.yml
2017-10-14 17:22:07 +11:00
2956550a6c
Mark up entry permalink pages with OpenGraph garbage too
2017-10-14 17:09:27 +11:00
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
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
9d0d6ba249
Add category pages to the sitemap
2017-10-14 15:12:50 +11:00
c184136f8a
Remove unnecessary templates for Handler.Entries - this allows it not to use TH at all :)
2017-10-14 15:04:01 +11:00
474ed3cf28
Add basic support for h-entry categories, which are actually more like tags than categories really
2017-10-14 14:59:51 +11:00
dfafe33e06
1.4.9
2017-10-13 23:07:34 +11:00
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
1a9c782666
1.4.8
2017-10-13 22:48:05 +11:00
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
c977f2cd53
1.4.7
2017-10-13 22:35:23 +11:00
660b17f279
Improve AvatarR performance by only fetching the avatar from the DB, not the whole User
2017-10-13 22:29:22 +11:00
1e7482b30f
Remove the slug column from entries - compute the slug from the entry name, if there is one, and have no slug otherwise
2017-10-11 23:41:52 +11:00
fa992bc861
Make entry names optional, since notes shouldn't have names and articles should
2017-10-11 23:34:36 +11:00
10b1ed834a
Display an adorable tiny sparkline-style avatar for the p-author on each h-entry
2017-10-11 23:09:22 +11:00
12bed07680
1.4.6
2017-10-11 21:39:13 +11:00
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
1df217ac01
1.4.5
2017-10-11 20:28:28 +11:00
08ed0b65e0
Make the slug and kind columns on Entries into varchars since they shouldn't ever get very long
2017-10-11 20:21:53 +11:00
ddf9b2fada
Add the lebd logo to the repository, as an SVG
2017-10-11 20:08:30 +11:00
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
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
f3b12ded69
Make the user who's displayed on the homepage a configurable setting, so it's easier to use lebd if your name isn't Dani
2017-10-11 12:55:24 +11:00
66cb093387
Rename module: Entry.Kind -> Model.Entry.Kind
2017-10-11 12:44:33 +11:00
02fd91cb77
Add per-request entity caching support
...
Different areas of the app need access to entities - for example both
the entry handler needs the entry itself to render it, but the
breadcrumbs also need the entry to decide what to label its breadcrumb.
Previously this was achieved by fetching entities from the database
twice. This sucks, so now it's implemented by fetching entities once and
caching them using Yesod's per-request cache.
2017-10-11 12:35:44 +11:00
efdca09b1c
Make slugs optional - they don't really make sense for notes, only really for entries with names like articles
2017-10-11 10:33:29 +11:00
5f4e94bfd2
Show the exact published and updated times of each h-entry as [title]s
2017-10-11 00:14:08 +11:00
e565e8ccd3
1.4.4
2017-10-10 22:46:12 +11:00
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
18ffe8ea4d
A little CSS meddling so that OpenWeb icons line up with the Font Awesome ones
2017-10-10 22:41:08 +11:00
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
c5e1f524b1
1.4.3
2017-10-10 19:49:17 +11:00
401c544ef1
Add support for u-syndication of each entry, tracking where else it's been posted
2017-10-10 19:45:31 +11:00
716769d24e
Refactor site-fetching into a reusable module
2017-10-10 19:16:12 +11:00
ddf86d901b
1.4.2
2017-10-10 15:24:31 +11:00
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
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