From cace022205daa780435d77b4424bed66e8cfab69 Mon Sep 17 00:00:00 2001 From: lauralani Date: Tue, 13 Jun 2023 12:39:48 +0200 Subject: [PATCH] update book layouts --- _includes/layouts/book.njk | 8 ++++++-- ...-book-one-to-four.md => heartstopper-series.md} | 5 +++-- books/{dan-brown-meteor.md => meteor.md} | 4 +++- ...ation-vade-retro.md => operation-vade-retro.md} | 4 +++- .../{alexander-freed-rogue-one.md => rogue-one.md} | 4 +++- books/the-ballad-of-songbirds-and-snakes.md.md | 14 ++++++++++++++ ...er-evil.md => thrawn-ascendancy-lesser-evil.md} | 4 +++- 7 files changed, 35 insertions(+), 8 deletions(-) rename books/{alice-oseman-heartstopper-book-one-to-four.md => heartstopper-series.md} (81%) rename books/{dan-brown-meteor.md => meteor.md} (73%) rename books/{markus-heitz-operation-vade-retro.md => operation-vade-retro.md} (70%) rename books/{alexander-freed-rogue-one.md => rogue-one.md} (73%) create mode 100644 books/the-ballad-of-songbirds-and-snakes.md.md rename books/{timothy-zahn-thrawn-ascendancy-lesser-evil.md => thrawn-ascendancy-lesser-evil.md} (75%) diff --git a/_includes/layouts/book.njk b/_includes/layouts/book.njk index 84bf398..9c833c8 100644 --- a/_includes/layouts/book.njk +++ b/_includes/layouts/book.njk @@ -1,5 +1,6 @@ --- title: lauka (dot) net +permalink: "books/{{ name | slugify }}/index.html" --- @@ -11,17 +12,20 @@ title: lauka (dot) net name="viewport" content="shrink-to-fit=no,width=device-width,height=device-height,initial-scale=1,user-scalable=1"> - lauka.net - Book: {{ name }} + lauka.net - Book: {{ author }}: {{ name }} -

lauka.net - Book: {{ name }}

+

Book: {{ name }} by {{ author }}

+ ⇠ back to book overview +

Rating: {% for i in range(0, rating) -%} ⭐ {%- endfor %}

+ {% if goodreads %}Link to Goodreads{% endif %}

{{ content | safe }}

diff --git a/books/alice-oseman-heartstopper-book-one-to-four.md b/books/heartstopper-series.md similarity index 81% rename from books/alice-oseman-heartstopper-book-one-to-four.md rename to books/heartstopper-series.md index 2849f11..379454d 100644 --- a/books/alice-oseman-heartstopper-book-one-to-four.md +++ b/books/heartstopper-series.md @@ -1,7 +1,9 @@ --- layout: layouts/book.njk tags: book -name: "Alice Oseman - Heartstopper (Books 1-4)" +author: "Alice Oseman" +name: "Heartstopper (Books 1-4)" +goodreads: https://www.goodreads.com/series/236821-heartstopper rating: 4 date: 2022-10-11 --- @@ -10,4 +12,3 @@ Heartstopper is about a young pair of boys that discover their love for eachothe Only downside for the books is that they are in comic form, which shortens the read time by a lot. Solid 4/5, would be 5/5 if the books were text instead of comic form - diff --git a/books/dan-brown-meteor.md b/books/meteor.md similarity index 73% rename from books/dan-brown-meteor.md rename to books/meteor.md index 37bc866..4c1aa51 100644 --- a/books/dan-brown-meteor.md +++ b/books/meteor.md @@ -1,7 +1,9 @@ --- layout: layouts/book.njk tags: book -name: "Dan Brown - Meteor" +author: Dan Brown +name: Meteor +goodreads: https://www.goodreads.com/book/show/1196860.Meteor rating: 4 date: 2022-05-15 --- diff --git a/books/markus-heitz-operation-vade-retro.md b/books/operation-vade-retro.md similarity index 70% rename from books/markus-heitz-operation-vade-retro.md rename to books/operation-vade-retro.md index 4ec2947..f6d3b67 100644 --- a/books/markus-heitz-operation-vade-retro.md +++ b/books/operation-vade-retro.md @@ -1,7 +1,9 @@ --- layout: layouts/book.njk tags: book -name: "Markus Heitz - Operation Vade Retro (Collector #2)" +author: Markus Heitz +name: "Operation Vade Retro (Collector #2)" +goodreads: https://www.goodreads.com/book/show/17314162-operation-vade-retro rating: 3 date: 2022-06-25 --- diff --git a/books/alexander-freed-rogue-one.md b/books/rogue-one.md similarity index 73% rename from books/alexander-freed-rogue-one.md rename to books/rogue-one.md index 544bc64..3f03993 100644 --- a/books/alexander-freed-rogue-one.md +++ b/books/rogue-one.md @@ -1,7 +1,9 @@ --- layout: layouts/book.njk tags: book -name: "Alexander Freed - Star Wars: Rogue One" +author: Alexander Freed +name: "Star Wars: Rogue One" +goodreads: https://www.goodreads.com/book/show/30008713-rogue-one rating: 4 date: 2021-10-16 --- diff --git a/books/the-ballad-of-songbirds-and-snakes.md.md b/books/the-ballad-of-songbirds-and-snakes.md.md new file mode 100644 index 0000000..123eda3 --- /dev/null +++ b/books/the-ballad-of-songbirds-and-snakes.md.md @@ -0,0 +1,14 @@ +--- +layout: layouts/book.njk +tags: book +author: Suzanne Collins +name: The Ballad of Songbirds and Snakes +goodreads: https://www.goodreads.com/book/show/51901147-the-ballad-of-songbirds-and-snakes +rating: 4 +date: 2023-01-25 +--- + +Heartstopper is about a young pair of boys that discover their love for eachother. The emotions and actions portrayed by the protagonists are so genuine that they almost hurt when reading the books! The book has a really nice setting, and it describes young love really nice :) +Only downside for the books is that they are in comic form, which shortens the read time by a lot. + +Solid 4/5, would be 5/5 if the books were text instead of comic form diff --git a/books/timothy-zahn-thrawn-ascendancy-lesser-evil.md b/books/thrawn-ascendancy-lesser-evil.md similarity index 75% rename from books/timothy-zahn-thrawn-ascendancy-lesser-evil.md rename to books/thrawn-ascendancy-lesser-evil.md index 9a1577a..def9307 100644 --- a/books/timothy-zahn-thrawn-ascendancy-lesser-evil.md +++ b/books/thrawn-ascendancy-lesser-evil.md @@ -1,7 +1,9 @@ --- layout: layouts/book.njk tags: book -name: "Timothy Zahn - Star Wars: Thrawn Ascendancy - Lesser Evil" +author: Timothy Zahn +name: "Star Wars: Thrawn Ascendancy - Lesser Evil" +goodreads: https://www.goodreads.com/book/show/55213763-lesser-evil rating: 5 date: 2022-05-10 ---