Commit graph

163 commits

Author SHA1 Message Date
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
7b2c1681eb
1.4.1 2017-10-10 00:19:58 +11:00
035cc1de3b
Make generated CSS files group-readable so that nginx can actually serve them without me manually chmodding 2017-10-10 00:19:23 +11:00
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
20470aa852
1.4.0 2017-10-09 21:06:41 +11:00
9f015a2bc0
Use consistent spacing for all my package version constraints 2017-10-09 21:05:51 +11:00
67b61227de
Unhide the foreign-store package so that stack ghci works without errors 2017-10-09 21:05:13 +11:00
3b58b57cc5
Pretty up the login page to match everywhere else 2017-10-09 20:30:50 +11:00
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
05c512de46
Make the home layout work properly on narrow screens 2017-10-09 20:06:19 +11:00
0e80d93994
Nicer layout for h-entry, with cute icons 2017-10-09 19:54:58 +11:00
03cd1487fe
Add the entry-kind pages and the actual entries to the generated sitemap 2017-10-09 15:40:58 +11:00
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
41375abdd4
Add the main entry kinds to the navbar 2017-10-09 14:03:42 +11:00
1b8a07a5f6
Simplify site title handling, automatically suffix site title to all pages 2017-10-09 13:50:26 +11:00
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
1f1108a886
Make h-entries look WAY better, the home page looks great now 2017-10-09 12:28:44 +11:00
764935adbd
Add schema.org/BreadcrumbList support (grossss) 2017-10-09 12:14:14 +11:00
2fd0ff850b
Set title for EntriesR 2017-10-09 10:08:23 +11:00
c554715df7
Enable breadcrumbs for EntriesR and EntryR 2017-10-09 10:03:03 +11:00
934457f671
Pretty up the h-entry as a Bootstrap card 2017-10-09 09:55:34 +11:00
7cebf92356
Add permalinks to h-entries 2017-10-09 09:02:42 +11:00
9679234062
Add slugs to entries and use them to create individual entry routes 2017-10-09 08:51:42 +11:00
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
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
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
b027125c2e
1.3.0 2017-10-08 15:00:15 +11:00
a0dd673af7
Add a few more useful rels to the layout's links 2017-10-06 15:04:46 +11:00
92373fcfa5
Simplify navbar implementation - this will also allow seamlessly adding a third, centred nav if desired 2017-10-06 14:43:00 +11:00
526e105b8b
Pretty up the breadcrumbs since you can see them now 2017-10-06 14:31:34 +11:00
1c4212f5d0
Bring back menu items for logging in and out 2017-10-06 14:23:42 +11:00