books.alexwlchan.net
21 months agoEnsure dates are always rendered without the leading 0
Alex Chan [Fri, 7 Feb 2020 19:28:33 +0000 (19:28 +0000)]
Ensure dates are always rendered without the leading 0

If there was a datetime.date() object in the YAML front matter (that is,
a date_read without string quotes), it would be formatted with a leading
zero, e.g. "07 February 2020".  Dates that were strings would be shown
w/o,  e.g. "7 February 2020".

Now all dates are stored consistently, regardless of how they're stored.

22 months agoFix an error when running the render script in a clean checkout
Alex Chan [Thu, 6 Feb 2020 15:24:48 +0000 (15:24 +0000)]
Fix an error when running the render script in a clean checkout

Because the _html directory doesn't exist yet, trying to create
_html/thumbnails would fail without `parents=True`.

22 months agoMark "The Elements of Style" as read
Alex Chan [Thu, 6 Feb 2020 15:24:18 +0000 (15:24 +0000)]
Mark "The Elements of Style" as read

22 months agoAdd all the data from my Goodreads account
Alex Chan [Thu, 6 Feb 2020 09:38:30 +0000 (09:38 +0000)]
Add all the data from my Goodreads account

22 months agoStart adding known good books
Alex Chan [Tue, 4 Feb 2020 21:53:39 +0000 (21:53 +0000)]
Start adding known good books

22 months agoDownsize thumbnails to 1x/2x to reduce page weight
Alex Chan [Tue, 4 Feb 2020 21:27:27 +0000 (21:27 +0000)]
Downsize thumbnails to 1x/2x to reduce page weight

22 months agoAdd a basic README
Alex Chan [Tue, 4 Feb 2020 18:30:07 +0000 (18:30 +0000)]
Add a basic README

22 months agoDownsize images in the thumbnail view
Alex Chan [Tue, 4 Feb 2020 18:10:34 +0000 (18:10 +0000)]
Downsize images in the thumbnail view

On the reviews page, this cuts the page weight from 4.5 MB to ~850 KB.

22 months agoAdd all the remaining migrated books
Alex Chan [Tue, 4 Feb 2020 18:03:37 +0000 (18:03 +0000)]
Add all the remaining migrated books

22 months agoEnough bits to deploy the site (mostly)
Alex Chan [Tue, 4 Feb 2020 17:54:15 +0000 (17:54 +0000)]
Enough bits to deploy the site (mostly)

22 months agoMigrate all the books in my "to read" list
Alex Chan [Tue, 4 Feb 2020 07:50:20 +0000 (07:50 +0000)]
Migrate all the books in my "to read" list

22 months agoAdd a date_added field to two existing books
Alex Chan [Tue, 4 Feb 2020 07:39:43 +0000 (07:39 +0000)]
Add a date_added field to two existing books

22 months ago"Plan to read" books are now ordered by date added
Alex Chan [Tue, 4 Feb 2020 07:37:59 +0000 (07:37 +0000)]
"Plan to read" books are now ordered by date added

22 months agoAdd a pile more books
Alex Chan [Tue, 4 Feb 2020 07:18:22 +0000 (07:18 +0000)]
Add a pile more books

22 months agoSkip the review if a book is unrated
Alex Chan [Tue, 4 Feb 2020 07:18:13 +0000 (07:18 +0000)]
Skip the review if a book is unrated

22 months agoA couple of other script autoformatting tweaks
Alex Chan [Tue, 4 Feb 2020 07:18:03 +0000 (07:18 +0000)]
A couple of other script autoformatting tweaks

22 months agoGive a bit more flexibility in the "date read" field
Alex Chan [Tue, 4 Feb 2020 07:16:03 +0000 (07:16 +0000)]
Give a bit more flexibility in the "date read" field

Now I can enter dates like "11 August 2019", which is how they're stored
in my current book tracker.

22 months agoAdd a whole pile of new books
Alex Chan [Mon, 3 Feb 2020 22:39:40 +0000 (22:39 +0000)]
Add a whole pile of new books

22 months agoTweak the contrast on favourite books
Alex Chan [Mon, 3 Feb 2020 07:51:52 +0000 (07:51 +0000)]
Tweak the contrast on favourite books

22 months agoAdd the first set of books
Alex Chan [Mon, 3 Feb 2020 07:51:46 +0000 (07:51 +0000)]
Add the first set of books

22 months agoFix a bug in the add_book.py script
Alex Chan [Mon, 3 Feb 2020 07:51:36 +0000 (07:51 +0000)]
Fix a bug in the add_book.py script

22 months agoMake top books stand out slightly
Alex Chan [Sun, 2 Feb 2020 23:32:14 +0000 (23:32 +0000)]
Make top books stand out slightly

22 months agoRender titles with smartypants
Alex Chan [Sun, 2 Feb 2020 23:28:51 +0000 (23:28 +0000)]
Render titles with smartypants

22 months agoAssume that a book with >3 stars was always finished
Alex Chan [Sun, 2 Feb 2020 23:28:37 +0000 (23:28 +0000)]
Assume that a book with >3 stars was always finished

22 months agoAdd "jump to" year links
Alex Chan [Sun, 2 Feb 2020 22:45:44 +0000 (22:45 +0000)]
Add "jump to" year links

22 months agoSimplify review paths – just the slug, not the year
Alex Chan [Sun, 2 Feb 2020 22:45:35 +0000 (22:45 +0000)]
Simplify review paths – just the slug, not the year

before: /reviews/2020/name-of-book
after:  /reviews/name-of-book

22 months agoGroup books on the reviews page by year read
Alex Chan [Sun, 2 Feb 2020 22:36:13 +0000 (22:36 +0000)]
Group books on the reviews page by year read

22 months agoFix the CSS on the currently reading page
Alex Chan [Sun, 2 Feb 2020 22:15:15 +0000 (22:15 +0000)]
Fix the CSS on the currently reading page

22 months agoAdd a bunch of books
Alex Chan [Sun, 2 Feb 2020 22:14:22 +0000 (22:14 +0000)]
Add a bunch of books

22 months agoPluralise "authors" correctly
Alex Chan [Sun, 2 Feb 2020 22:06:46 +0000 (22:06 +0000)]
Pluralise "authors" correctly

22 months agoTweak the CSS for books with square proportions
Alex Chan [Sun, 2 Feb 2020 21:54:40 +0000 (21:54 +0000)]
Tweak the CSS for books with square proportions

22 months agoFix a bug that wasn't recording ratings correctly
Alex Chan [Sun, 2 Feb 2020 21:53:07 +0000 (21:53 +0000)]
Fix a bug that wasn't recording ratings correctly

22 months agoAdd a way to track books that I didn't finish
Alex Chan [Sun, 2 Feb 2020 21:46:34 +0000 (21:46 +0000)]
Add a way to track books that I didn't finish

22 months agoProvide more meaningful <title> elements
Alex Chan [Sun, 2 Feb 2020 21:30:03 +0000 (21:30 +0000)]
Provide more meaningful <title> elements

22 months agoRun autoformatting
Alex Chan [Sun, 2 Feb 2020 21:28:30 +0000 (21:28 +0000)]
Run autoformatting

22 months agoAllow deploying to linode
Alex Chan [Sun, 2 Feb 2020 21:28:15 +0000 (21:28 +0000)]
Allow deploying to linode

22 months agoAnd now I can render a "books I want to read" page
Alex Chan [Sun, 2 Feb 2020 19:49:49 +0000 (19:49 +0000)]
And now I can render a "books I want to read" page

22 months agoHandle cover image URLs with query parameters
Alex Chan [Sun, 2 Feb 2020 19:44:24 +0000 (19:44 +0000)]
Handle cover image URLs with query parameters

22 months agoSupport formats; add a "currently reading" page
Alex Chan [Sun, 2 Feb 2020 19:39:49 +0000 (19:39 +0000)]
Support formats; add a "currently reading" page

22 months agoA bunch of cosmetic tweaks; add an index page
Alex Chan [Sun, 2 Feb 2020 19:17:41 +0000 (19:17 +0000)]
A bunch of cosmetic tweaks; add an index page

22 months agoMove the static directory to the top level
Alex Chan [Sun, 2 Feb 2020 19:06:29 +0000 (19:06 +0000)]
Move the static directory to the top level

This means the "src" directory just contains book data, not the app code.

22 months agoStrip the leading zero when displaying dates
Alex Chan [Sun, 2 Feb 2020 19:05:07 +0000 (19:05 +0000)]
Strip the leading zero when displaying dates

e.g. "1 February", not "01 February".

22 months agoUse SmartyPants to render nice curly quotes in reviews
Alex Chan [Sun, 2 Feb 2020 19:04:38 +0000 (19:04 +0000)]
Use SmartyPants to render nice curly quotes in reviews

22 months agoAdd a script for saving new books that I've read
Alex Chan [Sun, 2 Feb 2020 19:01:00 +0000 (19:01 +0000)]
Add a script for saving new books that I've read

22 months agoMake the title of reviewed books a bit bigger
Alex Chan [Sun, 2 Feb 2020 19:00:40 +0000 (19:00 +0000)]
Make the title of reviewed books a bit bigger

22 months agoAdd a "list all reviews" page
Alex Chan [Sun, 2 Feb 2020 17:08:25 +0000 (17:08 +0000)]
Add a "list all reviews" page

22 months agoCreate pages for individual reviews
Alex Chan [Sun, 2 Feb 2020 16:23:18 +0000 (16:23 +0000)]
Create pages for individual reviews