From 528117f68689aaa8151db1bd676a8959650b364d Mon Sep 17 00:00:00 2001 From: "Begerad, Stefan" Date: Thu, 28 Oct 2021 22:04:11 -0400 Subject: [PATCH] feat: extended data based dynamic wishlist --- src/_data/wishlist.json | 38 +++++++++++++++++++++++++++++++++++++- src/wish-list.html | 17 ++++++++++------- 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/src/_data/wishlist.json b/src/_data/wishlist.json index 8802773..286a22c 100644 --- a/src/_data/wishlist.json +++ b/src/_data/wishlist.json @@ -8,7 +8,13 @@ } ], "medium": [ - { + { + "tag": "Buch", + "name": "Our Ecological Footprint - Reducing Human Impact on the Earth", + "url": "https://newsociety.com/books/o/our-ecological-footprint?sitedomain=row", + "comment": "(Bitte Taschenbuch statt gebundene Ausgabe)" + }, + { "tag": "Buch", "name": "The Personal MBA", "url": "https://personalmba.com/", @@ -16,11 +22,41 @@ } ], "low": [ + { + "tag": "Thermosflasche", + "name": "Insulated TKPro 32 oz", + "url": "https://www.kleankanteen.com/collections/insulated-bottles/products/insulated-tkpro-32oz", + "comment": "(Farbe: brushed stainless)" + }, + { + "tag": "Pfanne", + "name": "Bauernpfanne 24", + "url": "https://www.riess.at/product/bauernpfanne-24/", + "comment": "(Bitte zusammen mit Deckel)" + }, + { + "tag": "Pfannendeckel", + "name": "Glasdeckel hoch für Pfanne 24 cm", + "url": "https://www.riess.at/product/glasdeckel-hoch-fuer-pfanne-24-cm/", + "comment": "(Bitte zusammen mit Pfanne)" + }, + { + "tag": "Lebensmittel", + "name": "Rapunzel Mandelmus weiß, aus Europa, 500g", + "url": "https://shop.rapunzel.de/produkte/brotaufstriche-nussmus/nussmus-100-nuss/3369/mandelmus-weiss-aus-europa", + "comment": "" + }, { "tag": "Buch", "name": "The Art of Happiness", "url": "https://en.wikipedia.org/wiki/The_Art_of_Happiness", "comment": "(Bitte Taschenbuch statt gebundene Ausgabe)" + }, + { + "tag": "Buch", + "name": "Die Känguru-Chroniken", + "url": "https://de.wikipedia.org/wiki/Die_K%C3%A4nguru-Chroniken", + "comment": "(Bitte Taschenbuch statt gebundene Ausgabe)" } ] } diff --git a/src/wish-list.html b/src/wish-list.html index c3752af..cb3685d 100644 --- a/src/wish-list.html +++ b/src/wish-list.html @@ -53,8 +53,9 @@ SPDX-License-Identifier: GPL-3.0-or-later - - {% for item in wishlist.high %} + + {% for item in wishlist.high %} + {{ item.tag }} {{ item.comment }} - {% endfor %} - + {% endfor %} + {% for item in wishlist.medium %} + {{ item.tag }} {{ item.comment }} - {% endfor %} + {% endfor %} + + {% for item in wishlist.low %} - {% for item in wishlist.low %} {{ item.tag }} {{ item.comment }} - {% endfor %} + {% endfor %}