99049a88ef
Give code a nice dark colour scheme like the stuff around it
2017-10-16 21:25:17 +11:00
50f2cde09c
1.6.0
2017-10-16 21:08:12 +11:00
1611ec2ef1
Take out the Hamlet newline configuration since it actually doesn't affect the output. Like, at all.
2017-10-16 21:06:18 +11:00
2d1cbbf105
Remove a redundant import
2017-10-16 20:58:44 +11:00
5a83121431
Move the schema.org/BreadcrumbList stuff out of Foundation
2017-10-16 20:57:36 +11:00
a880e66c31
Put category listings back into the sitemap.xml
2017-10-16 14:56:01 +11:00
1364a2e36b
Store categories directly in entry_category
2017-10-16 13:47:49 +11:00
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
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
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
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