From 27472f7c673f503ccf47b8b91950b80088a6f7d1 Mon Sep 17 00:00:00 2001 From: Nathan Solomon Date: Thu, 21 Jul 2022 12:33:04 -0700 Subject: [PATCH] Update, although some recipe files are still blank --- food/Brussel_sprouts/index.html | 39 +++++++++++++++++++++ food/Brussel_sprouts/recipe.json | 10 ++++++ food/French_toast/index.html | 39 +++++++++++++++++++++ food/French_toast/recipe.json | 10 ++++++ food/Garbanzos/index.html | 49 ++++++++++++++++++++++++++ food/Garbanzos/recipe.json | 18 ++++++++++ food/Lemon_bars/index.html | 2 +- food/Lemon_bars/recipe.json | 2 +- food/Rice_cake_pasta/index.html | 1 + food/Rice_cake_pasta/recipe.json | 3 +- food/Tofu_tagine/index.html | 59 ++++++++++++++++++++++++++++++++ food/Tofu_tagine/recipe.json | 31 +++++++++++++++++ food/index.html | 6 +++- food/update_html.py | 3 ++ 14 files changed, 268 insertions(+), 4 deletions(-) create mode 100644 food/Brussel_sprouts/index.html create mode 100644 food/Brussel_sprouts/recipe.json create mode 100644 food/French_toast/index.html create mode 100644 food/French_toast/recipe.json create mode 100644 food/Garbanzos/index.html create mode 100644 food/Garbanzos/recipe.json create mode 100644 food/Tofu_tagine/index.html create mode 100644 food/Tofu_tagine/recipe.json diff --git a/food/Brussel_sprouts/index.html b/food/Brussel_sprouts/index.html new file mode 100644 index 0000000..e1163d4 --- /dev/null +++ b/food/Brussel_sprouts/index.html @@ -0,0 +1,39 @@ + + + + + + + + Brussel sprouts + + + + + +
+

Brussel sprouts


+ +

Source: based on https://www.cookinglight.com/recipes/roasted-brussels-sprouts-with-mustard-dressing

+ +

Serving size:

+ + +

Ingredients

+ + +

Instructions

+

+ +

Serving suggestion


+

+
+ + diff --git a/food/Brussel_sprouts/recipe.json b/food/Brussel_sprouts/recipe.json new file mode 100644 index 0000000..f441e86 --- /dev/null +++ b/food/Brussel_sprouts/recipe.json @@ -0,0 +1,10 @@ +{ + "Source": "https://www.cookinglight.com/recipes/roasted-brussels-sprouts-with-mustard-dressing", + "Serving size": "", + "Pictures": { + }, + "Ingredients": [ + ], + "Instructions": "", + "Serving suggestion": "" +} diff --git a/food/French_toast/index.html b/food/French_toast/index.html new file mode 100644 index 0000000..3e7f9d9 --- /dev/null +++ b/food/French_toast/index.html @@ -0,0 +1,39 @@ + + + + + + + + French toast + + + + + +
+

French toast


+ +

Source: based on

+ +

Serving size:

+ + +

Ingredients

+ + +

Instructions

+

+ +

Serving suggestion


+

+
+ + diff --git a/food/French_toast/recipe.json b/food/French_toast/recipe.json new file mode 100644 index 0000000..565b3b9 --- /dev/null +++ b/food/French_toast/recipe.json @@ -0,0 +1,10 @@ +{ + "Source": "", + "Serving size": "", + "Pictures": { + }, + "Ingredients": [ + ], + "Instructions": "", + "Serving suggestion": "" +} diff --git a/food/Garbanzos/index.html b/food/Garbanzos/index.html new file mode 100644 index 0000000..cbf071f --- /dev/null +++ b/food/Garbanzos/index.html @@ -0,0 +1,49 @@ + + + + + + + + Garbanzos + + + + + +
+

Garbanzos


+ + + + +

Ingredients

+ + +

Instructions

+

Simmer until tomatoes are soft

+ +

Serving suggestion


+

Serve over basmati rice

+
+ + diff --git a/food/Garbanzos/recipe.json b/food/Garbanzos/recipe.json new file mode 100644 index 0000000..9bf8184 --- /dev/null +++ b/food/Garbanzos/recipe.json @@ -0,0 +1,18 @@ +{ + "Ingredients": [ + "2 cans of garbanzo beans", + "3 large tomatoes", + "shredded coconut", + "minced garlic", + "one spoonful of ghee", + "garam masala", + "curry powder", + "amchur", + "ground coriander", + "cumin seeds", + "cayenne powder", + "salt" + ], + "Instructions": "Simmer until tomatoes are soft", + "Serving suggestion": "Serve over basmati rice" +} diff --git a/food/Lemon_bars/index.html b/food/Lemon_bars/index.html index b31149a..8d6d466 100644 --- a/food/Lemon_bars/index.html +++ b/food/Lemon_bars/index.html @@ -38,7 +38,7 @@

Shortbread

Filling

diff --git a/food/Lemon_bars/recipe.json b/food/Lemon_bars/recipe.json index 2614742..d81995b 100644 --- a/food/Lemon_bars/recipe.json +++ b/food/Lemon_bars/recipe.json @@ -13,7 +13,7 @@ ], "Filling": [ "6 eggs", - "3 cups sugar", + "Less than 2 cups sugar", "1 cup lemon juice (I used meyer lemons)", "2/3 cup flour" ] diff --git a/food/Rice_cake_pasta/index.html b/food/Rice_cake_pasta/index.html index ca73f29..42f372f 100644 --- a/food/Rice_cake_pasta/index.html +++ b/food/Rice_cake_pasta/index.html @@ -30,6 +30,7 @@

Rice cake pasta


  • Bok choy
  • Szechuan peppercorns
  • Garlic
  • +
  • Chili flakes
  • diff --git a/food/Rice_cake_pasta/recipe.json b/food/Rice_cake_pasta/recipe.json index 7a724e1..f2d307b 100644 --- a/food/Rice_cake_pasta/recipe.json +++ b/food/Rice_cake_pasta/recipe.json @@ -4,6 +4,7 @@ "Black bean sauce", "Bok choy", "Szechuan peppercorns", - "Garlic" + "Garlic", + "Chili flakes" ] } diff --git a/food/Tofu_tagine/index.html b/food/Tofu_tagine/index.html new file mode 100644 index 0000000..b99215f --- /dev/null +++ b/food/Tofu_tagine/index.html @@ -0,0 +1,59 @@ + + + + + + + + Tofu tagine + + + + + +
    +

    Tofu tagine


    + +

    Source: based on

    + +

    Serving size:

    + + +

    Ingredients

    + + +

    Instructions

    +

    Coat tofu/chicken/seitan/tofucken in spice rub, then braise everything together

    + +

    Serving suggestion


    +

    Serve on top of couscous

    +
    + + diff --git a/food/Tofu_tagine/recipe.json b/food/Tofu_tagine/recipe.json new file mode 100644 index 0000000..16ce6d1 --- /dev/null +++ b/food/Tofu_tagine/recipe.json @@ -0,0 +1,31 @@ + +{ + "Source": "", + "Serving size": "", + "Pictures": { + }, + "Ingredients": [ + "Firm tofu, seitan, or chicken", + "Green olives", + "Lemon slices, with peel", + "Onion", + "Carrots", + "Olive oil", + "salt", + "pepper", + "Cilantro leaves", + "Ground coriander", + "paprika", + "cinnamon", + "ginger", + "cayenne", + "ground cumin", + "ras el hanout", + "raisings", + "apricots", + "tomato paste", + "slivered almonds" + ], + "Instructions": "Coat tofu/chicken/seitan/tofucken in spice rub, then braise everything together", + "Serving suggestion": "Serve on top of couscous" +} diff --git a/food/index.html b/food/index.html index c7dff90..bd4531b 100644 --- a/food/index.html +++ b/food/index.html @@ -29,11 +29,14 @@

    Recipe list

    Blueberry cake

    Bread

    Brunswick stew

    +

    Brussel sprouts

    Cauliflower and leek soup

    Chocolate chip cookies

    Coconut-lemongrass curry

    Eggplant and tofu

    Finnish pancake

    +

    French toast

    +

    Garbanzos

    Graham cracker toffee

    Greek salad

    Lemon bars

    @@ -56,8 +59,9 @@

    Recipe list

    Snickerdoodles

    Sticky rice with mangoes

    Stir-fried gnocchi

    +

    Tofu tagine

    Tomato soup

    - + \ No newline at end of file diff --git a/food/update_html.py b/food/update_html.py index 6db0f09..4a069c3 100755 --- a/food/update_html.py +++ b/food/update_html.py @@ -7,6 +7,7 @@ if '_site' in recipe_names: recipe_names.remove('_site') if '__pycache__' in recipe_names: recipe_names.remove('__pycache__') for recipe_name in recipe_names: + print(f'Reading {recipe_name}') human_readable_recipe_name = recipe_name.replace('_', ' ') with open(f'{recipe_name}/recipe.json') as file: recipe = json.load(file) @@ -94,3 +95,5 @@ html_file_contents = re.sub(regex, recipe_list_html, html_file_contents) with open('index.html', 'w') as file: file.write(html_file_contents) + +print("Done updating HTML")