URI: 
       tAdd links to images; add note to peanut butter recipe - recipes - Recipes
  HTML git clone git://lumidify.org/recipes.git (fast, but not encrypted)
  HTML git clone https://lumidify.org/git/recipes.git (encrypted, but very slow)
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
   DIR commit d3be6f17199f12691caa4a8c4bf90d077e185e20
   DIR parent 381325625cd61ffb144b81d1001ef124ed07f480
  HTML Author: lumidify <nobody@lumidify.org>
       Date:   Fri, 24 Sep 2021 10:54:31 +0200
       
       Add links to images; add note to peanut butter recipe
       
       Diffstat:
         M baked_stuff.md                      |      30 ++++++++++++++++++++++++++++++
         M gen_recipes.sh                      |      36 ++++++++++++++++++++++++++-----
         M main_meals.md                       |      21 ++++++++++++++++++++-
         M spice_mixes.md                      |       8 ++++++++
         M spreads.md                          |       5 ++++-
       
       5 files changed, 93 insertions(+), 7 deletions(-)
       ---
   DIR diff --git a/baked_stuff.md b/baked_stuff.md
       t@@ -85,6 +85,12 @@ Now some general notes:
              water in the bottom of the oven while the bread is baking
        
        #### Lebkuchen
       +
       +Images:
       +[Chocolate glazing](images/lebkuchen_chocolate.jpg)
       +[Chocolate glazing (cut)](images/lebkuchen_chocolate_pieces.jpg)
       +[Sugar glazing](images/lebkuchen_glazed.jpg)
       +
        - Ingredients
            + 250g honey
            + 250g sugar
       t@@ -113,6 +119,11 @@ Now some general notes:
                * You can also add nuts to it. Let your imagination run free, at least within bounds.
        
        #### Elisenlebkuchen
       +
       +Images:
       +[Chocolate glazing](images/elisenlebkuchen_chocolate.jpg)
       +[No glazing](images/elisenlebkuchen_unglazed.jpg)
       +
        - Ingredients
            + 2 eggs
            + 50g sugar
       t@@ -142,6 +153,10 @@ Now some general notes:
                  I am not a huge fan of those
        
        #### Whole Grain Rye Sourdough (Initial Creation)
       +
       +Image:
       +[Sourdough](images/sourdough.jpg)
       +
        - Ingredients
            + 500g whole grain rye flour
            + 500mL water
       t@@ -166,6 +181,10 @@ Now some general notes:
            + Cover loosely with lid and leave to rest in a warm place for 12 hours
        
        #### Whole Grain Rye Bread
       +
       +Image:
       +[Whole Grain Rye Bread](images/sourdough_rye_bread.jpg)
       +
        - Ingredients
            + 500g sourdough
            + 500g whole grain rye flour
       t@@ -203,6 +222,11 @@ Now some general notes:
              until it has cooled (this helps the other sides dry a bit)
        
        #### Whole Grain Buns (well, except for the potatoes...)
       +
       +Images:
       +[Whole](images/whole_grain_buns.jpg)
       +[Cut](images/whole_grain_buns_cut.jpg)
       +
        - Ingredients
            + 400g boiled, grated potatoes
            + 300g whole wheat flour
       t@@ -231,6 +255,11 @@ Now some general notes:
                  the dough doesn't seem to be too wet.
        
        #### Potato Bread
       +
       +Images:
       +[Whole](images/potato_bread.jpg)
       +[Cut](images/potato_bread_cut.jpg)
       +
        - Ingredients
            + 600g boiled, grated potatoes
            + 300g whole wheat flour
       t@@ -243,6 +272,7 @@ Now some general notes:
            + Mix all other ingredients in a bowl
            + When the yeast has dissolved in the water, add it to the bowl and mix well
              (I don't really knead it because the dough is fairly wet)
       +      ([Image](images/potato_bread_dough.jpg))
            + Cover the bowl with a towel and let the dough rise for 5 hours
            + Fill into greased bread baking form (or two), optionally smoothing the surface with
              wet fingers, cover and let rise for 4-5 more hours
   DIR diff --git a/gen_recipes.sh b/gen_recipes.sh
       t@@ -10,16 +10,42 @@ echo '<!DOCTYPE html>
        </head>
        <html>
        <h1>Recipes</h1>' > html/recipes/index.html
       -echo 'Recipes' > gph/recipes/index.gph
       +
       +echo 'Recipes\n' > gph/recipes/index.gph
       +echo '[1|All Images|/recipes/images/|server|port]\n' >> gph/recipes/index.gph
       +echo 'Text version:' >> gph/recipes/index.gph
       +
       +# generate text and html versions
        for i in recipes/*.md
        do
                base=`basename $i .md`
       -        lowdown -s -D html-head-ids -D smarty -o html/recipes/$base.html $i
       -        tail -n +3 $i > gph/recipes/$base.md
       +        lowdown -s --html-no-head-ids --out-no-smarty -o html/recipes/$base.html $i
       +        tail -n +3 $i |
       +                sed 's/\[[^]]*\](\([^)]*\))/gopher:\/\/lumidify.org\/I\/recipes\/\1/g' | # generate full urls
       +                sed 's/(gopher:\/\//( gopher:\/\//g' | # add space after left parenthesis for double-click selecting
       +                sed 's/\(images\/[^)]*\.jpg\))/\1 )/g' > gph/recipes/$base.md # add space after right parenthesis
                title=`head -n 1 $i | sed 's/^.*://' | tr -d '\n'`
                echo "<a href=\"$base.html\">$title</a>" >> html/recipes/index.html
                echo "[0|$title|/recipes/$base.md|server|port]" >> gph/recipes/index.gph
        done
       -echo '<a href="images/">Miscellaneous Images</a>
       +
       +echo '<a href="images/">All Images</a>
        </html>' >> html/recipes/index.html
       -echo '[1|Miscellaneous Images|/recipes/images/|server|port]' >> gph/recipes/index.gph
       +
       +echo '\nGopher menu version (with direct links to images):' >> gph/recipes/index.gph
       +# generate gopher menu version
       +for i in recipes/*.md
       +do
       +        base=`basename $i .md`
       +        tail -n +3 $i |
       +                sed 's/^t/&&/' | # duplicate 't' because of quirk in gph format
       +                sed 's/(\[\([^]]*\)\](\([^)]*\)))/[(\1)](\2)/g' | # move parentheses into image name
       +                sed -r 's/^([[:space:]]*)\[([^]]*)\]\(([^)]*)\)$/[\1\2](\3)/' | # move indent into image name
       +                sed 's/^\[\([^]]*\)\](\([^)]*\))$/[I|\1|\/recipes\/\2|server|port]/g' > gph/recipes/$base.gph # generate gph links
       +        title=`head -n 1 $i | sed 's/^.*://' | tr -d '\n'`
       +        echo "[1|$title|/recipes/$base.gph|server|port]" >> gph/recipes/index.gph
       +done
       +
       +echo '\nNote: The links in both versions are generated automatically
       +from relative markdown links, so there may be mistakes.
       +Let me know if you find any problems.' >> gph/recipes/index.gph
   DIR diff --git a/main_meals.md b/main_meals.md
       t@@ -375,6 +375,10 @@ title:Main Meals
                * The paneer cubes can be fried/deep-fried as well, but I've never tried it
        
        #### Achar Gosht (Serves 3)
       +
       +Image:
       +[Achar Gosht](images/achar_gosht.jpg)
       +
        - Ingredients
            + 2 medium onions, chopped
            + 4 cloves garlic, ground into paste
       t@@ -463,6 +467,10 @@ title:Main Meals
                * Bake for 20 minutes at 200 degrees celsius
        
        #### Achari Chicken Pizza (Serves 2-3)
       +
       +Image:
       +[Achari Chicken Pizza](images/achari_chicken_pizza.jpg)
       +
        - Ingredients
            + Pizza Dough
                * Same as chicken tikka pizza
       t@@ -508,6 +516,10 @@ title:Main Meals
                * Bake for 20 minutes at 200 degrees celsius
        
        #### Chicken Tikka (Serves ~1-2)
       +
       +Image:
       +[Chicken Tikka](images/chicken_tikka.jpg)
       +
        - Ingredients
            + 2 chicken leg quarters
            + 2 Tbsp yoghurt
       t@@ -532,6 +544,10 @@ title:Main Meals
                * It really needs to be properly done and crispy for it to be good
        
        #### Dal (Serves 2-3)
       +
       +Image:
       +[Dal](images/dal_mixed.jpg)
       +
        - Ingredients
            + 1/2 cup red lentils (they turn yellow when cooked)
            + 1 1/2 cups water
       t@@ -554,11 +570,13 @@ title:Main Meals
        - Instructions
            + Boil the lentils like rice, but with three times as much water as
              lentils (by volume)
       +      ([Image](images/dal_lentils.jpg))
            + Cut the onion, garlic, and ginger into small pieces
            + Mash the garlic and ginger up with a mortar and pestle, if available
            + Fry the onion until light brown, then add the garlic and ginger paste
            + Fry for a bit longer, then add the tomatoes and all spices except
              for the tadka ones
       +      ([Image](images/dal_vegetables.jpg))
            + After everything is cooked well (~20 minutes), mix with the lentils
              (the lentils should soak up all the water; if not, figure out
              what you're going to do...)
       t@@ -590,4 +608,5 @@ title:Main Meals
                * The batter has to be quite runny for it to work properly. You may even
                  need to add more milk.
                * If you're using a non-stick pan, you shouldn't need to add oil after
       -          every pancake, just always after making a few.
       +          every pancake, just always after making a few. They turn out nicer with
       +          a little oil, though.
   DIR diff --git a/spice_mixes.md b/spice_mixes.md
       t@@ -3,6 +3,10 @@ title:Spice Mixes
        ## Spice Mixes
        
        #### Chaat Masala
       +
       +Image:
       +[Chaat Masala](images/chaat_masala.jpg)
       +
        - Ingredients
            + 1 Tbsp cumin seeds
            + 1 tsp coriander seeds
       t@@ -22,6 +26,10 @@ title:Spice Mixes
                * Roasting the seeds is always better, but it will work with pre-ground spices as well
        
        #### Lebkuchen Spice
       +
       +Image:
       +[Lebkuchen Spice](images/lebkuchen_spice.jpg)
       +
        - Ingredients
            + 8 tsp (15g) cinnamon
            + 2 tsp (2g) cloves
   DIR diff --git a/spreads.md b/spreads.md
       t@@ -6,7 +6,10 @@ title:Spreads
        - Ingredients
            + 1kg peanuts
            + 7g (~1tsp) salt
       -    + 100g (~10tsp) powdered sugar
       +    + 100g (~10tsp) powdered sugar -> FIXME: I saw this again recently and don't understand how it's
       +      supposed to make sense. 100g of sugar is definitely not 10tsp, *maybe* 10Tbsp, but that still
       +      seems like a lot. I can't test it, though, at the moment, so I don't know what the correct
       +      amount is.
        - Instructions
            + Roast the peanuts in oven at 150 degrees Celsius, frequently turning them around until brown.
            + Let the peanuts cool down.