logo

Grimgrains

[mirror] Plant-based cooking website <https://grimgrains.com/>
commit: d24f8b0cc9a2a6fab00d1e434159ce3126f65507
parent e2341cb7b6eda7d000ba71dfd9104139fc1183ff
Author: microlith57 <microlith57@gmail.com>
Date:   Mon, 24 Jun 2019 19:55:27 +1200

Lots of parent-children related fixes & art

Signed-off-by: microlith57 <microlith57@gmail.com>

Diffstat:

Amedia/ingredients/cayenne.powder.png0
Amedia/ingredients/flour.png0
Amedia/ingredients/green.olives.png0
Amedia/ingredients/olives.png0
Amedia/ingredients/onion.png0
Rmedia/ingredients/potatoe.png -> media/ingredients/potato.png0
Mscripts/database/ingredients.ndtl60+++++++++++++++++++++++++++++++++++++++++++++++++++---------
Mscripts/database/recipes.ndtl8++++----
Mscripts/templates/home.js4++--
9 files changed, 57 insertions(+), 15 deletions(-)

diff --git a/media/ingredients/cayenne.powder.png b/media/ingredients/cayenne.powder.png Binary files differ. diff --git a/media/ingredients/flour.png b/media/ingredients/flour.png Binary files differ. diff --git a/media/ingredients/green.olives.png b/media/ingredients/green.olives.png Binary files differ. diff --git a/media/ingredients/olives.png b/media/ingredients/olives.png Binary files differ. diff --git a/media/ingredients/onion.png b/media/ingredients/onion.png Binary files differ. diff --git a/media/ingredients/potatoe.png b/media/ingredients/potato.png Binary files differ. diff --git a/scripts/database/ingredients.ndtl b/scripts/database/ingredients.ndtl @@ -1,6 +1,7 @@ DATABASE.ingredients = ` Coffee + PARENT : Beans BREF : {{Coffee}} is a brewed drink prepared from roasted coffee beans, which are the seeds of berries from the {{Coffea plant|https://en.wikipedia.org/wiki/Coffea}}. LONG % blog/coffee.2.jpg @@ -47,6 +48,7 @@ Peanut Butter Peanuts BREF : A crop grown mainly for its edible seeds! Peanuts are similar in taste and nutritional profile to tree nuts, and can be made into {{peanut butter}}. Soy beans + PARENT : Beans COLOR : #EFEFEF LONG & A staple in Eastern Asia, soy beans are used as a base for many vegan faux-meat dishes. If you produce your own {{soy milk}}, know that there won't be any waste. The pulp can be used to make okara, which you can use to make baked goods. @@ -55,13 +57,21 @@ Beans LONG & Fun fact: there are over 130 varieties of {{green beans}}. & See also: {{black beans}}, {{green beans}}, and {{kidney beans}} +Black beans + PARENT : Beans +Green beans + PARENT : Beans +Kidney beans + PARENT : Beans Edamame Chickpeas Chickpea Flour - PARENT : chickpea, flour + PARENT : chickpeas, flour Peas Green Peas + PARENT : Peas Mungbeans + PARENT : Beans ~ CRUCIFEROUS @@ -98,28 +108,41 @@ Radish ~ ALGEA FUNGI +Seaweed +Mushroom Wakame + PARENT : Seaweed COLOR : #006633 BREF : Wakame is a very invasive plant - it's even banned in Australia. Dried Hijiki + PARENT : Seaweed Bull kelp powder + PARENT : Seaweed Nori + PARENT : Seaweed COLOR : #000000 - BREF : Nori can be made into {{sheets|nori sheets}}. Fun fact: seaweed takes about 45 days to grow. + BREF : Fun fact: seaweed takes about 45 days to grow. Nori Sheets + PARENT : Nori, Seaweed Shiitake + PARENT : Mushroom COLOR : #875A2C Crimini + PARENT : Mushroom COLOR : #875A2C BREF : Mature crimini mushrooms are actually {{portobello}} mushrooms. Portobello + PARENT : Mushroom COLOR : #875A2C - BREF : Portobello are mature {{crimini}} (or common) mushrooms. They can be used in plantbased recipes as hamburger steaks, you can even use them as buns. + BREF : Portobello are mature {{crimini}} (or common) mushrooms. They can be used in plant-based recipes as hamburger steaks, you can even use them as buns. Shimeji + PARENT : Mushroom Button Mushrooms -Dehydrated mushro + PARENT : Mushroom Black mushrooms + PARENT : Mushroom Straw mushrooms + PARENT : Mushroom ~ SEEDS @@ -143,30 +166,38 @@ Carrot Heirloom Carrots Ginger Ginger Root + PARENT : Ginger Potatoes BREF : Since vitamin A deficiency is a common problem in Africa, people are encouraged to eat {{sweet potatoes}}. Russet Potatoes - BREF : A type of {{potato|potatoes}}. + PARENT : Potatoes Sweet Potatoes - BREF : A type of {{potato|potatoes}}. + PARENT : Potatoes Beets LONG & {{Golden beets}} are rich in b-xanthin pigment, so they cannot replace {{red beets}} (which contain betalain pigment). Both pigments offer different health benefits! & The root of the beet plant is called a beetroot. Don't be alarmed, beetroot juice will make your urine red for a day. Golden Beets + PARENT : Beets BREF : A type of {{beet|beets}} containing b-xanthin pigment. Red Beets + PARENT : Beets BREF : A type of {{beet|beets}} containing betalain pigment. Yuka BREF : Tapioca is actually a starch extracted from Yuca roots. Garlic BREF : Garlic has been used in many cultures around the world for thousands of years, dating all the way back to the time the pyramids were built! Garlic Powder + PARENT : Garlic +Onion Red Onion + PARENT : Onion COLOR : #C820B3 - BREF : There is a variety of red onions in italy that has a stronger and sweeter taste, it is sometimes made into marmalades. + BREF : There is a variety of red onion in Italy that has a stronger and sweeter taste, and is sometimes made into marmalade. Onion Powder + PARENT : Onion Yellow Onion + PARENT : Onion ~ OTHER VEGETABLES @@ -179,11 +210,14 @@ Chives Peppers BREF : The misleading name 'pepper' was given by Christopher Columbus when he brought back a plant to Europe. The word pepper was given to all spices in Europe that had a hot and pungent taste. Green Peppers + PARENT : Peppers Red Peppers + PARENT : Peppers Yellow Peppers + PARENT : Peppers Tomato - BREF : The tomatoes can also be dried with an oven. Tomato Paste + PARENT : Tomato BREF : The tomatoes can also be dried with an oven. Avocado BREF : Avocados are botanically 'berries', they may be pear-shaped, round or egg-shaped. They are a good source of fat. Fun fact: Avocado trees don't self-pollinate, they need another avocado tree nearby to bear fruit. @@ -191,7 +225,11 @@ Pumpkin BREF : The darker the skin of the pumpkin, the higher the beta-carotene content. Olives Green Olives + PARENT : Olives Black Olives + PARENT : Olives +Pimento Olives + PARENT : Olives Palm BREF : Heart of palm is a vegetable that is harvested from the inner core of certain palm trees. They can be eaten as is, but they're especially delicious when tossed into a salad. Squash @@ -210,6 +248,7 @@ Alfaalfa sprouts Raisins Dried Raisins + PARENT : Raisins Blackberries Cherries Mulberries @@ -286,10 +325,13 @@ Mint COLOR : #006633 BREF : Oil derived from {{fresh mint}} can be used as a friendly insecticide. Fresh Mint + PARENT : Mint Cocoa Cocoa Powder -Cayenne + PARENT : Cocoa Cayenne Pepper +Cayenne Powder + PARENT : Cayenne Pepper Anise Anise Seeds Nutritional yeast diff --git a/scripts/database/recipes.ndtl b/scripts/database/recipes.ndtl @@ -1119,7 +1119,7 @@ CHILI POMEGRANATE BROWNIES - Stir in the flax 'egg', as well as the {_2 tbsp_} of {{red pepper flakes}} and {_1 tsp_} of {{cayenne powder}}. Add {_1/2 cup_} of {{all purpose flour}} and mix well. Mixture should be very thick. - Pour into a 8X8 baking dish lined with parchment papper. Flatten with the back of a spoon to even it out and bake for {#25 minutes#}, or until knife comes out clean. Let cool. {_Cut in 24 small squares_}. Syrup - - Pour {_2 cups_} of {{unsweetened pomegranate juice}} into a pot with {_1 tsp_} {{red pepper flakes}} and {_1 tsp_} {{cayenne}}. Bring to a boil, lower to medium-high heat and leave for up to {#1h#} or until liquid has been reduced to {_1 cup_}. + - Pour {_2 cups_} of {{unsweetened pomegranate juice}} into a pot with {_1 tsp_} {{red pepper flakes}} and {_1 tsp_} {{cayenne powder}}. Bring to a boil, lower to medium-high heat and leave for up to {#1h#} or until liquid has been reduced to {_1 cup_}. - Let cool, the syrup will thicken when cooled. - Top brownies with fresh {{pomegranate seeds}}, and drizzle with the chili-infused syrup! INGR @@ -1133,12 +1133,12 @@ CHILI POMEGRANATE BROWNIES Sea salt : 1/4 tsp All purpose flour : 1/2 cup Chili pepper flakes : 2 tbsp - Cayenne pepper : 1 tsp + Cayenne powder : 1 tsp Syrup Pomegranate juice : 2 cups Sugar : 3/4 cup Chili pepper flakes : 1 tsp - Cayenne pepper : 1 tsp + Cayenne powder : 1 tsp Topping Pomegranate seeds : 1 cup @@ -1724,7 +1724,7 @@ CHICKPEA KELP SANDWICH Dijon mustard : 1 tbsp Bull kelp powder : 1/2 tsp Scallions : 2 branches - Cayenne pepper : 1/4 tsp + Cayenne powder : 1/4 tsp Sea salt : 1/4 tsp Black pepper : 1/4 tsp Shichimi togarashi : To taste diff --git a/scripts/templates/home.js b/scripts/templates/home.js @@ -57,14 +57,14 @@ function HomeTemplate (id, rect) { for (id in ingredients) { let name = ingredients[id][0] html += ` - <li class='ingredient ${!table[name] ? 'missing' : ''}'> + <li class='ingredient${!table[name] ? ' missing' : ''}'> <a href='#${name.to_url()}' onclick="Ø('query').bang('${name}')"> <img src='media/ingredients/${name.to_path()}.png'/> </a> <t class='name'>${name.capitalize()}</t> </li>` } - return `<ul class='ingredients'>${html}<hr/></ul>` + return `<ul class='ingredients'>${html}</ul>` } function count_ingredients (recipe) {