From bc728a3b8c6c7bf57e843b3c15e13a9f4719b8d8 Mon Sep 17 00:00:00 2001 From: Devin Haska Date: Sun, 3 Mar 2024 00:52:59 -0800 Subject: [PATCH] fix: a few more pre-launch fixes --- src/_includes/layouts/catalogue-item.html | 15 +++++++++++---- .../books/2016-08-29-the-way-of-kings.md | 1 + src/catalogue/books/2019-05-25-the-dip.md | 1 + src/catalogue/books/2019-05-25-the-subtle-art.md | 1 + .../books/2019-05-25-the-total-money-makeover.md | 1 + src/catalogue/books/2019-05-25-why-we-get-fat.md | 1 + .../books/2019-05-31-digital-minimalism.md | 1 + src/catalogue/books/2019-08-06-dare-to-lead.md | 1 + .../books/2019-09-04-effective-engineer.md | 1 + src/catalogue/books/2019-09-07-atomic-habits.md | 1 + .../books/2019-10-21-ego-is-the-enemy.md | 1 + src/catalogue/books/2019-10-22-meditations.md | 1 + src/catalogue/books/2019-12-04-deep-work.md | 1 + src/catalogue/books/2019-12-04-why-we-sleep.md | 1 + .../books/2020-06-01-astrophyics-for-people.md | 1 + src/catalogue/books/2020-07-01-the-hate-u-give.md | 1 + .../books/2020-08-01-the-skin-were-in.md | 1 + src/catalogue/books/2020-09-02-the-big-leap.md | 1 + ...2021-09-09-joshua-whitehead-jonny-appleseed.md | 1 + ...21-09-09-scott-mccloud-understanding-comics.md | 1 + ...09-09-victoria-ortiz-dissenter-on-the-bench.md | 1 + .../books/2021-09-17-jim-butcher-peace-talks.md | 1 + ...-about-when-we-talk-about-fat-aubrey-gordon.md | 1 + src/catalogue/books/2024-02-25-stolen-focus.md | 1 + 24 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/_includes/layouts/catalogue-item.html b/src/_includes/layouts/catalogue-item.html index a05c464..6901ece 100644 --- a/src/_includes/layouts/catalogue-item.html +++ b/src/_includes/layouts/catalogue-item.html @@ -14,10 +14,17 @@ imageCaption: ""

{{ title }}

{% if subtitle %}

{{ subtitle }}

{% endif %} {% if rating %}
{{ stars(rating) }}
{% endif %} - {% if tertiary %} -
- {{ tertiary | safe }} -
+ {% if tertiary or year %} +
+ {% if tertiary %} +
+ {{ tertiary | safe }} +
+ {% endif %} + {% if year %} +

ca. {{ year }}

+ {% endif %} +
{% endif %} {% if filteredTags | length > 0 %}