commit 0fd4c57158e7ce5af895ce62b8d6ba067b2844bc parent a8365960cb3c506ff7bf662339ef470caa6875ae Author: Wim Dupont <wim@wimdupont.com> Date: Thu, 18 Apr 2024 17:52:47 +0200 added books Diffstat:
M | content/booklist.csv | | | 3 | +++ |
M | generate.sh | | | 4 | ++-- |
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/content/booklist.csv b/content/booklist.csv @@ -62,6 +62,9 @@ Stoner;John Williams;9780099561545;Fiction;; The Remains of the Day;Kazuo Ishiguro;9780679731726;Fiction;; Slaughterhouse-Five;Kurt Vonnegut;9780440180296;Fiction;; Lonesome Dove;Larry McMurtry;9781447203056;Fiction;Lonesome Dove;1 +Streets of Laredo;Larry McMurtry;9780671792817;Fiction;Lonesome Dove;2 +Dead Man's Walk;Larry McMurtry;9780684807539;Fiction;Lonesome Dove;3 +Comanche Moon;Larry McMurtry;9781447274629;Fiction;Lonesome Dove;4 The Book Thief;Markus Zusak;9781784162122;Fiction;; The Midnight Library;Matt Haig;9781786892720;Fiction;; The Unbearable Lightness of Being;Milan Kundera;9780571135394;Fiction;; diff --git a/generate.sh b/generate.sh @@ -116,10 +116,10 @@ generate_books_page() { category_check=$category fi if [[ -z "$series" ]]; then - echo "|link:https://openlibrary.org/isbn/$isbn[\"$title\"]|[.align-right]#$author#" >> $DEST_FILE + echo "|link:https://openlibrary.org/isbn/$isbn[$title]|[.align-right]#$author#" >> $DEST_FILE else series=$(test -z $series_number && echo -n $series || echo -n "$series #$series_number") - echo "|link:https://openlibrary.org/isbn/$isbn[\"$title\"] [.series]#($series)#|[.align-right]#$author#" >> $DEST_FILE + echo "|link:https://openlibrary.org/isbn/$isbn[$title] [.series]#($series)#|[.align-right]#$author#" >> $DEST_FILE fi done < "$BOOKLIST_FILE"