diff --git a/build.sh b/build.sh index 9c3325c..e862a4a 100755 --- a/build.sh +++ b/build.sh @@ -6,7 +6,7 @@ USAGE=$(cat <<- END USAGE: build.sh Commands: - + build rebuild the site clean remove all build artifacts help display this help message @@ -23,7 +23,7 @@ function start-server { python -m SimpleHTTPServer 8080 >/dev/null 2>&1 & SERVER_PID="$!" cd .. - + trap "kill $SERVER_PID; exit" SIGINT } @@ -39,18 +39,24 @@ function usage { function run-build { mkdir -p "$OUTPUT" - + cd src - find . -type f | while read FILE; do + find . -type f | grep -v templates | while read FILE; do BASENAME=$(basename "$FILE") DIRNAME=$(dirname "$FILE") - + EXT=$(echo "$BASENAME" | cut -d. -f2) BASENAME=$(echo "$BASENAME" | cut -d. -f1) - + # echo "file: $FILE, dirname: $DIRNAME, basename: $BASENAME, ext: $EXT" - - if [[ "$EXT" == "pug" ]]; then + mkdir -p "../$OUTPUT/$DIRNAME" + + if [[ "$BASENAME.$EXT" == "data.js" ]]; then + TARGET="../$OUTPUT/$DIRNAME/index.html" + if [[ "$TARGET" -ot "$FILE" ]]; then + pug -O $FILE < templates/recipe.pug > $TARGET + fi + elif [[ "$EXT" == "pug" ]]; then TARGET="../$OUTPUT/$DIRNAME/$BASENAME.html" if [[ "$TARGET" -ot "$FILE" ]]; then pug -o "../$OUTPUT/$DIRNAME" "$FILE" @@ -58,13 +64,12 @@ function run-build { elif [[ "$EXT" == "png" ]]; then TARGET="../$OUTPUT/$DIRNAME/$BASENAME.$EXT" if [[ "$TARGET" -ot "$FILE" ]]; then - mkdir -p "../$OUTPUT/$DIRNAME" cp "$FILE" "$TARGET" fi elif [[ "$EXT" == "scss" ]]; then TARGET="../$OUTPUT/$DIRNAME/$BASENAME.css" if [[ "$TARGET" -ot "$FILE" ]]; then - sass "$FILE" "$TARGET" + sass --sourcemap=none "$FILE" "$TARGET" fi fi done @@ -84,7 +89,7 @@ COMMANDS="$COMMANDS,help" function run-server { start-server - + echo "Running server. Press ^C to stop" while true; do sleep 60 @@ -95,7 +100,7 @@ COMMANDS="$COMMANDS,server" function run-watch { start-server echo "Watching. Press ^C to cancel" - + while true; do run-build sleep 2 diff --git a/docs/bagels/index.html b/docs/bagels/index.html index 56310e1..99e6dbc 100644 --- a/docs/bagels/index.html +++ b/docs/bagels/index.html @@ -1 +1 @@ -

Bagels

2 tspactive dry yeast
1½ tbspgranulated sugar
1¼ cupwarm water
500gbread flour (+ a little extra)
1½ tspsalt
2 tbspolive oil

Ideas for toppings:

kosher saltcaraway seeds
sesame seedsfennel seeds
minced onionminced garlic
poppy seedscumin seeds
1Add the sugar and yeast to 1¼ cups of warm water. Leave without stirring.5 min
2Mix the flour and salt in a large mixing bowl.1 min
3Make a well in the center of the flour and pour in the yeast mixture along with an extra ⅓ cup of warm water.1 min
4Mix the flour and water until you have a moist and firm dough, adding more warm water a tbsp at a time if needed (it may not be).3 min
5On a floured countertop, kneed the dough until it is smooth and elastic while trying to work in as much flour as possible to form a stiff dough.10 min
6Lightly coat the dough with olive oil, place in a bowl, and cover with a damp dish towel. Let rise in a warm place until the dough has doubled in size.1 hour
7Fill a large pot with water about 3" deep and bring to a boil, and then reduce the heat to a simmer. Preheat your oven to 425°F.10 min
8Using a scale, divide the dough into 8 equal portions. Shape each portion into a ball by rollingin between your two cupped hands.8 min
9Coat a finger with flour and gently press your finger through the center of each ball. Expand the initial hole until it's about ⅓ the overall diameter of the bagel.8 min
10Using a slotted spoon (or something similar), drop in each bagel into the water and boil for 1-2 min on each side (more times makes for a chewier crust).2-4 min
11Remove the bagels from water and place onto a lightly oiled cooking sheet. Coat each bagel lightly with an egg wash and cover with your preferred toppings.2 min
12Bake until golden brown and the toppings just start to singe.20 min
13Cool on a wire rack.5 min
\ No newline at end of file +

Bagels

prep 50 min, cook 90 min
× 8
This recipe produces a perfect NY bagel (once you've gotten the hang of it). Chewy on the outside, soft on the inside, and just the right size. The only downside is that it's really something of an all-day process.

1

  • 1¼ cup
    water (~ 115°F)
  • 1¼ tbsp
    sugar (granulated)
  • 1¼ tsp
    yeast (active dry)
Add the sugar and yeast to the warm water and set aside without stirring. Leave it to rest while you proceed with the next steps.

2

  • 500 g
    flour (all purpose)
  • ¼ cup
    water (~ 115°F)
  • 1½ tsp
    salt
Mix the flour and salt in a large mixing bowl. Make a small depression in the center of the flour and gently pour in the yeast mixture. Mix until you produce a moist but firm dough, adding in more water a tbsp at a time as needed to keep it from drying out.

3

  • 25 g
    flour (all purpose)
On a lightly floured surface, kneed the dough until it is smooth and elastic, while working in enough flour to make the dough somewhat stiff.

4

  • 1 tsp
    olive oil
Very lightly coat the dough with olive oil, place into a bowl, and cover with a damp towel. Allow to rise a warm place until the dough has doubled in size (about an hour).

5

    Fill a large pot with water about 3" deep and bring to a boil. Preheat your oven to 425°F. While these things are in progress, divide the dough into 8 equal portions using a scale. Shape each portion into a ball. With a flour-coated finger, poke a hole in the ball and form into a bagel shape.

    6

    • 2
      egg
    • ~
      coarse salt, caraway seeds, fennel seeds, poppy seeds, etc.
    Reduce the water to a simmer. Using a slotted spoon, drop each bagel in the water and boil for 1-2 min on each side (longer for a chewier bagel). When finished, place the bagels on a lightly-oiled cooking sheet. Coat each bagel with an egg wash and add sprinkle on your favorite toppings.

    7

      Bake until golden brown and the toppings just start to singe. Cool on a drying rack.
      \ No newline at end of file diff --git a/src/bagels/final.png b/docs/bagels/large.png similarity index 100% rename from src/bagels/final.png rename to docs/bagels/large.png diff --git a/docs/beef-stroganoff/index.html b/docs/beef-stroganoff/index.html new file mode 100644 index 0000000..b3c5228 --- /dev/null +++ b/docs/beef-stroganoff/index.html @@ -0,0 +1 @@ +

      Beef Stroganoff

      prep 20 min, cook 60 min
      × 4
      The sauce from this recipe is just amazing... rich, creamy, spicy, tangy... a little bit of everything wonderful. This is traditionally served over egg noodles, but it works fine on its own, too.

      1

      • 2 lb
        beef (stew meat)
      • ½ cup
        red wine
      • 1 tsp
        salt
      • ½ tsp
        black pepper
      Place the beef in a large bowl with the other ingredients. Mix thoroughly and place in the refigerator to marinade while you proceed with the next steps.

      2

      • 2 tbsp
        butter
      • 1
        yellow onion
      • 3 cloves
        garlic
      Melt the butter in a medium skillet. Add the onions and garlic and sautée until golden and transparent, but not yet brown. Set aside in a large bowl.

      3

      • 2 tbsp
        olive oil
      Heat the oil in the same skillet. Remove the meat from the bowl, but reserve the remaining marinade. Pat the beef dry, and then lightly brown in batches. Set aside when finished.

      4

      • 2 tbsp
        butter
      • 1 cup
        mushrooms (sliced)
      Using the again emptied skillet, melt more butter and add in the mushrooms. Sautée until reduced in size and golden. Set these aside separately from the meat and onions.

      5

      • ¼ cup
        butter
      • ¼ cup
        gluten-free flour (or all-purpose)
      • 1⅓ cups
        beef broth
      • 1 tbsp
        Worcestershire sauce
      • 1 tsp
        yellow mustard
      • 2 tsp
        red pepper flakes
      In the same skillet, melt even more butter. Work the flour in a little at a time with a whisk until everything is completely mixed and little pellets start to form. Next, slowly add the beef broth while continuing to whisk constantly. Bring to a boil, and then reduce to a simmer. Finally, add the reserved marinade, Worcestershire sauce, mustard, and red pepper flakes.

      6

        Combine everything in a medium stock pot, mix well, bring to a boil, and reduce to a low simmer. Leave to cook for at least 45 min. Cook uncovered until the sauce thickens to the desired consistency, then cover for the remaining time.

        7

        • ⅓ cup
          sour cream
        • 3 oz
          cream cheese
        Once the beef it tender, add in the mushrooms, sour cream, and cream cheese. Mix carefully and adjust seasoning as needed.
        SANFRANCOOK, AllRecipes.com, http://allrecipes.com/recipe/219046/rich-and-creamy-beef-stroganoff
        \ No newline at end of file diff --git a/docs/beef-stroganoff/large.png b/docs/beef-stroganoff/large.png new file mode 100644 index 0000000..371a49e Binary files /dev/null and b/docs/beef-stroganoff/large.png differ diff --git a/docs/hungarian-mushroom-beef-soup/final.png b/docs/hungarian-mushroom-beef-soup/final.png deleted file mode 100644 index 67dfbd3..0000000 Binary files a/docs/hungarian-mushroom-beef-soup/final.png and /dev/null differ diff --git a/docs/index.html b/docs/index.html index 14a5aa3..e15275f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1 +1 @@ -

        Baking

        BagelsChallahFluffy PancakesGluten-Free FlourPizzaRosemary Dinner RollsSouthern Buttermilk Biscuits

        Soups

        Caldo VerdeClam ChowderCream of Spinach SoupCurry Butternut Squash & Apple SoupFrench Onion SoupHungarian Mushroom Beef SoupWinter Lentil Soup

        Salads

        Caesar SaladCucumber SaladRuth's Chris Chopped Salad

        Main Dish

        BBQ Pork RibsBeef BourguignonButter ChickenChicken Cordon BleuChicken Pot PieChicken Breasts with Caper Cream SauceCholeGarlic Prime RibGnocchiKielbasa and CabbageKofta KebabsLemon Chicken with Mushroom SauceOrange ChickenRatatouilleRicotta MeatballsRoast Leg of Lamb with RosemaryShrimp with Sweet Potatoes and BaconSloppy Joe Sandwiches

        Sides

        Bok Choy with GarlicBourbon Glazed CarrotsCreamed SpinachGarlic BroccoliHummusPommes PuréeSweet Potatoes with Honey and RosemaryTzatziki \ No newline at end of file +

        Baking

        BagelsChallahFluffy PancakesGluten-Free FlourPizzaRosemary Dinner RollsSouthern Buttermilk Biscuits

        Soups

        Caldo VerdeClam ChowderCream of Spinach SoupCurry Butternut Squash & Apple SoupFrench Onion SoupHungarian Mushroom Beef SoupWinter Lentil Soup

        Salads

        Caesar SaladCucumber SaladRuth's Chris Chopped Salad

        Main Dish

        BBQ Pork RibsBeef BourguignonButter ChickenChicken Cordon BleuChicken Pot PieChicken Breasts with Caper Cream SauceCholeGarlic Prime RibGnocchiKielbasa and CabbageKofta KebabsLemon Chicken with Mushroom SauceOrange ChickenRatatouilleRicotta MeatballsRoast Leg of Lamb with RosemaryShrimp with Sweet Potatoes and BaconSloppy Joe Sandwiches

        Sides

        Bok Choy with GarlicBourbon Glazed CarrotsCreamed SpinachGarlic BroccoliHummusPommes PuréeSauteed MushroomsSweet Potatoes with Honey and RosemaryTzatziki \ No newline at end of file diff --git a/docs/pizza/detail.png b/docs/pizza/detail.png deleted file mode 100644 index ae51910..0000000 Binary files a/docs/pizza/detail.png and /dev/null differ diff --git a/docs/sauteed-mushrooms/index.html b/docs/sauteed-mushrooms/index.html index eb66c98..c0eac15 100644 --- a/docs/sauteed-mushrooms/index.html +++ b/docs/sauteed-mushrooms/index.html @@ -1,8 +1 @@ -

        Sauteed Mushrooms

        prep 10 min, cook 15 min
        × 4
        These are the best sauteed mushrooms I've ever had. Slighly salty, and very savory, they serve very -well as a topping for steak, baked potatoes and whatever else needs a strong flavor. -

        1

        • 3 tbsp
          olive oil
        • 3 tbsp
          butter
        • 1 lb
          button mushrooms (sliced)
        Heat the olive oil and butter in a large saucepan over medium heat until it foams. Add the mushrooms -and cook until reduced somewhat in size and slightly yellowed (about 5 minutes). -

        2

        • 1 clove
          garlic (minced)
        • 1 tbsp
          red wine
        • 1 tbsp
          tamari (or soy-sauce)
        • ¼ tsp
          garlic salt (or kosher salt)
        • ~
          black pepper
        Add the remaining ingredients and cook until the mushrooms are slightly browned and the sauced -thickened (about 5-10 minutes). -
        IrishMountainGirl, AllRecipes.com, -http://allrecipes.com/recipe/222795/superb-sauteed-mushrooms
        \ No newline at end of file +

        Sauteed Mushrooms

        prep 10 min, cook 15 min
        × 4
        These are the best sauteed mushrooms I've ever had. Slighly salty, and very savory, they serve very well as a topping for steak, baked potatoes and whatever else needs a strong flavor.

        1

        • 3 tbsp
          olive oil
        • 3 tbsp
          butter
        • 1 lb
          button mushrooms (sliced)
        Heat the olive oil and butter in a large saucepan over medium heat until it foams. Add the mushrooms and cook until reduced somewhat in size and slightly yellowed (about 5 minutes).

        2

        • 1 clove
          garlic
        • 1 tbsp
          tamair (or soy sauce)
        • ¼ tsp
          garlic salt
        • ~
          black pepper
        Add the remaining ingredients and cook until the mushrooms are slightly browned and the sauced thickened (about 5-10 minutes).
        IrishMountainGirl, AllRecipes.com, http://allrecipes.com/recipe/222795/superb-sauteed-mushrooms
        \ No newline at end of file diff --git a/docs/style.css b/docs/style.css index 43901c1..ab871b4 100644 --- a/docs/style.css +++ b/docs/style.css @@ -111,5 +111,3 @@ align-items: center; } .recipe .ingredients .list { margin-top: 0.25in; } } - -/*# sourceMappingURL=style.css.map */ diff --git a/docs/style.css.map b/docs/style.css.map deleted file mode 100644 index e825dda..0000000 --- a/docs/style.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "AAAA,SAAU;EACN,YAAY,EAAE,CAAC;EACf,UAAU,EAAE,MAAM;EAElB,YAAG;IACC,WAAW,EAAE,UAAU;IACvB,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;EAGrB,WAAE;IACE,aAAa,EAAE,QAAQ;IACvB,YAAY,EAAE,KAAK;IACnB,KAAK,EAAE,KAAK;IACZ,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,IAAI;IACf,eAAe,EAAE,IAAI;IAErB,OAAO,EAAE,IAAI;IACb,WAAW,EAAE,MAAM;IACnB,OAAO,EAAE,QAAQ;IACjB,aAAa,EAAE,OAAO;IAEtB,UAAU,EAAE,SAAS;IAErB,mBAAU;MACN,KAAK,EAAE,KAAK;IAGhB,iBAAQ;MACJ,UAAU,EAAE,OAAO;MACnB,KAAK,EAAE,KAAK;IAGhB,eAAI;MACA,MAAM,EAAE,mBAAmB;MAC3B,aAAa,EAAE,QAAQ;MACvB,YAAY,EAAE,OAAO;MACrB,MAAM,EAAE,KAAK;MACb,KAAK,EAAE,KAAK;;AAKxB,OAAQ;EACJ,MAAM,EAAE,MAAM;EACd,SAAS,EAAE,GAAG;EAEd,OAAO,EAAE,IAAI;EACb,cAAc,EAAE,MAAM;EAEtB,UAAG;IACC,UAAU,EAAE,CAAC;IACb,aAAa,EAAE,MAAM;IAErB,WAAW,EAAE,KAAK;IAClB,SAAS,EAAE,IAAI;EAGnB,UAAG;IACC,SAAS,EAAE,IAAI;IACf,MAAM,EAAE,CAAC;IACT,aAAa,EAAE,OAAO;IACtB,cAAc,EAAE,SAAS;EAG7B,oBAAa;IACT,OAAO,EAAE,IAAI;IAGT,+BAAI;MACA,aAAa,EAAE,MAAM;MACrB,MAAM,EAAE,mBAAmB;MAC3B,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.scss"], -"names": [], -"file": "style.css" -} diff --git a/docs/style2.css b/docs/style2.css index 4d2f7fd..57fd2f4 100644 --- a/docs/style2.css +++ b/docs/style2.css @@ -160,5 +160,3 @@ width: 90%; } .recipe .instructions .step .detail { border: 0; } } - -/*# sourceMappingURL=style2.css.map */ diff --git a/docs/style2.css.map b/docs/style2.css.map deleted file mode 100644 index f5334d1..0000000 --- a/docs/style2.css.map +++ /dev/null @@ -1,7 +0,0 @@ -{ -"version": 3, -"mappings": "AAAA,OAAQ;EACJ,MAAM,EAAE,MAAM;EACd,SAAS,EAAE,GAAG;EAEd,eAAQ;IACJ,OAAO,EAAE,IAAI;IAEb,sBAAO;MACH,eAAe,EAAE,KAAK;MACtB,mBAAmB,EAAE,MAAM;MAC3B,MAAM,EAAE,cAAc;MACtB,aAAa,EAAE,MAAM;MACrB,OAAO,EAAE,IAAI;MACb,IAAI,EAAE,SAAS;MACf,UAAU,EAAE,MAAM;IAGtB,sBAAO;MACH,IAAI,EAAE,QAAQ;MACd,MAAM,EAAE,aAAa;MACrB,OAAO,EAAE,aAAa;MAEtB,yBAAG;QACC,WAAW,EAAE,UAAU;QACvB,SAAS,EAAE,IAAI;QACf,MAAM,EAAE,OAAO;QACf,UAAU,EAAE,MAAM;MAGtB,8BAAQ;QACJ,KAAK,EAAE,IAAI;QACX,UAAU,EAAE,MAAM;QAClB,MAAM,EAAE,SAAS;QACjB,UAAU,EAAE,MAAM;MAGtB,gCAAU;QACN,MAAM,EAAE,aAAa;QACrB,UAAU,EAAE,MAAM;QAElB,oCAAI;UACA,MAAM,EAAE,MAAM;UACd,KAAK,EAAE,MAAM;QAGjB,0CAAU;UACN,WAAW,EAAE,OAAO;IAKhC,sBAAO;MACH,WAAW,EAAE,MAAM;MACnB,OAAO,EAAE,IAAI;MACb,WAAW,EAAE,UAAU;MACvB,SAAS,EAAE,MAAM;MACjB,eAAe,EAAE,MAAM;MACvB,MAAM,EAAE,6BAA6B;MAErC,4BAAM;QACF,mBAAmB,E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CAAQ;MACJ,MAAM,EAAE,CAAC", -"sources": ["../src/style2.scss"], -"names": [], -"file": "style2.css" -} diff --git a/src/bagels/data.js b/src/bagels/data.js new file mode 100644 index 0000000..3a481bb --- /dev/null +++ b/src/bagels/data.js @@ -0,0 +1,58 @@ +module.exports = require("../helpers")({ + title: "Bagels", + timings: { + prep: "50 min", + cook: "90 min", + }, + icons: ["vegetarian"], + servings: 8, + description: "This recipe produces a perfect NY bagel (once you've gotten the hang of it). Chewy on the outside, " + + "soft on the inside, and just the right size. The only downside is that it's really something of an all-day " + + "process.", + steps: [{ + ingredients: [ + { amount: 1.25, unit: "cup", item: "water (~ 115°F)" }, + { amount: 1.25, unit: "tbsp", item: "sugar (granulated)" }, + { amount: 1.25, unit: "tsp", item: "yeast (active dry)" }, + ], + directions: "Add the sugar and yeast to the warm water and set aside without stirring. Leave it to rest " + + "while you proceed with the next steps." + }, { + ingredients: [ + { amount: 500, unit: "g", item: "flour (all purpose)" }, + { amount: 0.25, unit: "cup", item: "water (~ 115°F)" }, + { amount: 1.5, unit: "tsp", item: "salt" }, + ], + directions: "Mix the flour and salt in a large mixing bowl. Make a small depression in the center of the " + + "flour and gently pour in the yeast mixture. Mix until you produce a moist but firm dough, adding in " + + "more water a tbsp at a time as needed to keep it from drying out." + }, { + ingredients: [ + { amount: 25, unit: "g", item: "flour (all purpose)" }, + ], + directions: "On a lightly floured surface, kneed the dough until it is smooth and elastic, while working in " + + "enough flour to make the dough somewhat stiff." + }, { + ingredients: [ + { amount: 1, unit: "tsp", item: "olive oil" }, + ], + directions: "Very lightly coat the dough with olive oil, place into a bowl, and cover with a damp towel. " + + "Allow to rise a warm place until the dough has doubled in size (about an hour)." + }, { + ingredients: [], + directions: "Fill a large pot with water about 3\" deep and bring to a boil. Preheat your oven to 425°F. " + + "While these things are in progress, divide the dough into 8 equal portions using a scale. Shape each " + + "portion into a ball. With a flour-coated finger, poke a hole in the ball and form into a bagel shape." + }, { + ingredients: [ + { amount: 2, unit: "", item: "egg" }, + { unit: "~", item: "coarse salt, caraway seeds, fennel seeds, poppy seeds, etc." }, + ], + directions: "Reduce the water to a simmer. Using a slotted spoon, drop each bagel in the water and boil for " + + "1-2 min on each side (longer for a chewier bagel). When finished, place the bagels on a lightly-oiled " + + "cooking sheet. Coat each bagel with an egg wash and add sprinkle on your favorite toppings." + }, { + ingredients: [], + directions: "Bake until golden brown and the toppings just start to singe. Cool on a drying rack." + }] +}) diff --git a/src/bagels/index.pug b/src/bagels/index.pug deleted file mode 100644 index e899637..0000000 --- a/src/bagels/index.pug +++ /dev/null @@ -1,113 +0,0 @@ -doctype html -html - head - link(href="../style.css" rel="stylesheet" type="text/css") - meta(charset="UTF-8") - meta(name="viewport" content="user-scalable=no, width=device-width") - - body.recipe - h1 Bagels - - section.ingredients - .image - img(src="final.png") - .list - table - tr - td 2 tsp - td active dry yeast - tr - td 1½ tbsp - td granulated sugar - tr - td 1¼ cup - td warm water - tr - td 500g - td bread flour (+ a little extra) - tr - td 1½ tsp - td salt - tr - td 2 tbsp - td olive oil - - h2 Ideas for toppings: - - table - tr - td kosher salt - td caraway seeds - tr - td sesame seeds - td fennel seeds - tr - td minced onion - td minced garlic - tr - td poppy seeds - td cumin seeds - - section.directions - table - tr - td 1 - td Add the sugar and yeast to 1¼ cups of warm water. Leave without stirring. - td 5 min - tr - td 2 - td Mix the flour and salt in a large mixing bowl. - td 1 min - tr - td 3 - td Make a well in the center of the flour and pour in the yeast mixture along with an extra ⅓ cup - | of warm water. - td 1 min - tr - td 4 - td Mix the flour and water until you have a moist and firm dough, adding more warm water a tbsp at - | a time if needed (it may not be). - td 3 min - tr - td 5 - td On a floured countertop, kneed the dough until it is smooth and elastic while trying to work in - | as much flour as possible to form a stiff dough. - td 10 min - tr - td 6 - td Lightly coat the dough with olive oil, place in a bowl, and cover with a damp dish towel. Let - | rise in a warm place until the dough has doubled in size. - td 1 hour - tr - td 7 - td Fill a large pot with water about 3" deep and bring to a boil, and then reduce the heat to a - | simmer. Preheat your oven to 425°F. - td 10 min - tr - td 8 - td Using a scale, divide the dough into 8 equal portions. Shape each portion into a ball by rolling - | in between your two cupped hands. - td 8 min - tr - td 9 - td Coat a finger with flour and gently press your finger through the center of each ball. Expand - | the initial hole until it's about ⅓ the overall diameter of the bagel. - td 8 min - tr - td 10 - td Using a slotted spoon (or something similar), drop in each bagel into the water and boil for 1-2 - | min on each side (more times makes for a chewier crust). - td 2-4 min - tr - td 11 - td Remove the bagels from water and place onto a lightly oiled cooking sheet. Coat each bagel - | lightly with an egg wash and cover with your preferred toppings. - td 2 min - tr - td 12 - td Bake until golden brown and the toppings just start to singe. - td 20 min - tr - td 13 - td Cool on a wire rack. - td 5 min diff --git a/src/bagels/large.png b/src/bagels/large.png new file mode 100644 index 0000000..13d8fb8 Binary files /dev/null and b/src/bagels/large.png differ diff --git a/src/beef-stroganoff/data.js b/src/beef-stroganoff/data.js new file mode 100644 index 0000000..d80312a --- /dev/null +++ b/src/beef-stroganoff/data.js @@ -0,0 +1,71 @@ +module.exports = require("../helpers")({ + title: "Beef Stroganoff", + timings: { + prep: "20 min", + cook: "60 min", + }, + icons: ["gluten-free", "low-carb"], + servings: 4, + description: "The sauce from this recipe is just amazing... rich, creamy, spicy, tangy... a little bit of " + + "everything wonderful. This is traditionally served over egg noodles, but it works fine on its own, too.", + steps: [{ + ingredients: [ + { amount: 2, unit: "lb", item: "beef (stew meat)" }, + { amount: 1/2, unit: "cup", item: "red wine" }, + { amount: 1, unit: "tsp", item: "salt" }, + { amount: 1/2, unit: "tsp", item: "black pepper" }, + ], + directions: "Place the beef in a large bowl with the other ingredients. Mix thoroughly and place in the " + + "refigerator to marinade while you proceed with the next steps." + }, { + ingredients: [ + { amount: 2, unit: "tbsp", item: "butter" }, + { amount: 1, unit: "", item: "yellow onion" }, + { amount: 3, unit: "cloves", item: "garlic" }, + ], + directions: "Melt the butter in a medium skillet. Add the onions and garlic and sautée until golden and " + + "transparent, but not yet brown. Set aside in a large bowl." + }, { + ingredients: [ + { amount: 2, unit: "tbsp", item: "olive oil" }, + ], + directions: "Heat the oil in the same skillet. Remove the meat from the bowl, but reserve the remaining " + + "marinade. Pat the beef dry, and then lightly brown in batches. Set aside when finished." + }, { + ingredients: [ + { amount: 2, unit: "tbsp", item: "butter" }, + { amount: 1, unit: "cup", item: "mushrooms (sliced)" }, + ], + directions: "Using the again emptied skillet, melt more butter and add in the mushrooms. Sautée until " + + "reduced in size and golden. Set these aside separately from the meat and onions." + }, { + ingredients: [ + { amount: 1/4, unit: "cup", item: "butter" }, + { amount: 1/4, unit: "cup", item: "gluten-free flour (or all-purpose)" }, + { amount: 1 + 1/3, unit: "cups", item: "beef broth" }, + { amount: 1, unit: "tbsp", item: "Worcestershire sauce" }, + { amount: 1, unit: "tsp", item: "yellow mustard" }, + { amount: 2, unit: "tsp", item: "red pepper flakes" }, + ], + directions: "In the same skillet, melt even more butter. Work the flour in a little at a time " + + "with a whisk until everything is completely mixed and little pellets start to form. Next, slowly add " + + "the beef broth while continuing to whisk constantly. Bring to a boil, and then reduce to a simmer. " + + "Finally, add the reserved marinade, Worcestershire sauce, mustard, and red pepper flakes." + }, { + ingredients: [], + directions: "Combine everything in a medium stock pot, mix well, bring to a boil, and reduce to a low " + + "simmer. Leave to cook for at least 45 min. Cook uncovered until the sauce thickens to the desired " + + "consistency, then cover for the remaining time." + }, { + ingredients: [ + { amount: 1/3, unit: "cup", item: "sour cream" }, + { amount: 3, unit: "oz", item: "cream cheese" }, + ], + directions: "Once the beef it tender, add in the mushrooms, sour cream, and cream cheese. Mix carefully and " + + "adjust seasoning as needed." + }], + credit: { + name: "SANFRANCOOK, AllRecipes.com", + url: "http://allrecipes.com/recipe/219046/rich-and-creamy-beef-stroganoff" + }, +}) diff --git a/src/beef-stroganoff/large.png b/src/beef-stroganoff/large.png new file mode 100644 index 0000000..371a49e Binary files /dev/null and b/src/beef-stroganoff/large.png differ diff --git a/src/helpers.js b/src/helpers.js new file mode 100644 index 0000000..bffb7f2 --- /dev/null +++ b/src/helpers.js @@ -0,0 +1,19 @@ +module.exports = function decorate(data) { + data.asFraction = function(n) { + if (!n) return "" + + let result = `${n}` + result = result.replace(/\.125$/, "⅛") + result = result.replace(/\.25$/, "¼") + result = result.replace(/\.3+$/, "⅓") + result = result.replace(/\.375$/, "⅜") + result = result.replace(/\.5$/, "½") + result = result.replace(/\.625$/, "⅝") + result = result.replace(/\.6+$/, "⅔") + result = result.replace(/\.75$/, "¾") + result = result.replace(/\.875$/, "⅞") + result = result.replace(/^0+/, "") + return result + } + return data +} diff --git a/src/index.pug b/src/index.pug index 0e99eee..e64eb31 100644 --- a/src/index.pug +++ b/src/index.pug @@ -8,7 +8,7 @@ html h1 Baking a(href="bagels") - img(src="bagels/final.png") + img(src="bagels/large.png") | Bagels a(href="challah") @@ -179,6 +179,10 @@ html img(src="pommes-puree/final.png") | Pommes Purée + a(href="sauteed-mushrooms") + img(src="sauteed-mushrooms/large.png") + | Sauteed Mushrooms + a(href="sweet-potatoes-with-honey-and-rosemary") img(src="sweet-potatoes-with-honey-and-rosemary/final.png") | Sweet Potatoes with Honey and Rosemary diff --git a/src/sauteed-mushrooms/data.js b/src/sauteed-mushrooms/data.js new file mode 100644 index 0000000..d380852 --- /dev/null +++ b/src/sauteed-mushrooms/data.js @@ -0,0 +1,33 @@ +module.exports = require("../helpers")({ + title: "Sauteed Mushrooms", + timings: { + prep: "10 min", + cook: "15 min", + }, + icons: ["gluten-free", "low-carb", "vegetarian"], + servings: 4, + description: "These are the best sauteed mushrooms I've ever had. Slighly salty, and very savory, they serve " + + "very well as a topping for steak, baked potatoes and whatever else needs a strong flavor.", + steps: [{ + ingredients: [ + { amount: 3, unit: "tbsp", item: "olive oil" }, + { amount: 3, unit: "tbsp", item: "butter" }, + { amount: 1, unit: "lb", item: "button mushrooms (sliced)" }, + ], + directions: "Heat the olive oil and butter in a large saucepan over medium heat until it foams. Add the " + + "mushrooms and cook until reduced somewhat in size and slightly yellowed (about 5 minutes).", + }, { + ingredients: [ + { amount: 1, unit: "clove", item: "garlic" }, + { amount: 1, unit: "tbsp", item: "tamair (or soy sauce)" }, + { amount: 1/4, unit: "tsp", item: "garlic salt" }, + { unit: "~", item: "black pepper" }, + ], + directions: "Add the remaining ingredients and cook until the mushrooms are slightly browned and the sauced " + + "thickened (about 5-10 minutes).", + }], + credit: { + name: "IrishMountainGirl, AllRecipes.com", + url: "http://allrecipes.com/recipe/222795/superb-sauteed-mushrooms", + } +}) diff --git a/src/sauteed-mushrooms/index.pug b/src/sauteed-mushrooms/index.pug deleted file mode 100644 index b4b3bcd..0000000 --- a/src/sauteed-mushrooms/index.pug +++ /dev/null @@ -1,71 +0,0 @@ -doctype html -html - head - link(href="../style2.css" rel="stylesheet" type="text/css") - meta(charset="UTF-8") - meta(name="viewport" content="user-scalable=no, width=device-width") - - body.recipe - section.header - .image(style="background-image: url('./large.png')") - - .about - h1 Sauteed Mushrooms - - .timing prep 10 min, cook 15 min - - .icons - .icon.gluten-free - .icon.low-carb - .icon.vegetarian - .icon.serving - | × 4 - - .description. - These are the best sauteed mushrooms I've ever had. Slighly salty, and very savory, they serve very - well as a topping for steak, baked potatoes and whatever else needs a strong flavor. - - section.instructions - .step - h3 1 - .ingredients - ul - li - .amount 3 tbsp - .item olive oil - li - .amount 3 tbsp - .item butter - li - .amount 1 lb - .item button mushrooms (sliced) - .detail. - Heat the olive oil and butter in a large saucepan over medium heat until it foams. Add the mushrooms - and cook until reduced somewhat in size and slightly yellowed (about 5 minutes). - - .step - h3 2 - .ingredients - ul - li - .amount 1 clove - .item garlic (minced) - li - .amount 1 tbsp - .item red wine - li - .amount 1 tbsp - .item tamari (or soy-sauce) - li - .amount ¼ tsp - .item garlic salt (or kosher salt) - li - .amount ~ - .item black pepper - .detail. - Add the remaining ingredients and cook until the mushrooms are slightly browned and the sauced - thickened (about 5-10 minutes). - - section.credits. - IrishMountainGirl, AllRecipes.com, - http://allrecipes.com/recipe/222795/superb-sauteed-mushrooms diff --git a/src/templates/index.pug b/src/templates/index.pug new file mode 100644 index 0000000..025440d --- /dev/null +++ b/src/templates/index.pug @@ -0,0 +1,192 @@ +doctype html +html + head + link(rel="stylesheet" type="text/css" href="style.css") + meta(name="viewport" content="user-scalable=no, width=device-width") + + body.cookbook + h1 Baking + + a(href="bagels") + img(src="bagels/final.png") + | Bagels + + a(href="challah") + img(src="challah/final.png") + | Challah + + a(href="fluffy-pancakes") + img(src="fluffy-pancakes/final.png") + | Fluffy Pancakes + + a(href="gluten-free-flour") + img(src="gluten-free-flour/final.png") + | Gluten-Free Flour + + a(href="pizza") + img(src="pizza/final.png") + | Pizza + + a(href="rosemary-dinner-rolls") + img(src="rosemary-dinner-rolls/final.png") + | Rosemary Dinner Rolls + + a(href="southern-buttermilk-biscuits") + img(src="southern-buttermilk-biscuits/final.png") + | Southern Buttermilk Biscuits + + h1 Soups + + a(href="caldo-verde") + img(src="caldo-verde/final.png") + | Caldo Verde + + a(href="clam-chowder") + img(src="clam-chowder/final.png") + | Clam Chowder + + a(href="cream-of-spinach-soup") + img(src="cream-of-spinach-soup/final.png") + | Cream of Spinach Soup + + a(href="curry-butternut-squash-and-apple-soup") + img(src="curry-butternut-squash-and-apple-soup/final.png") + | Curry Butternut Squash & Apple Soup + + a(href="french-onion-soup") + img(src="french-onion-soup/large.png") + | French Onion Soup + + a(href="hungarian-mushroom-beef-soup") + img(src="hungarian-mushroom-beef-soup/final.png") + | Hungarian Mushroom Beef Soup + + a(href="winter-lentil-soup") + img(src="winter-lentil-soup/final.png") + | Winter Lentil Soup + + h1 Salads + + a(href="caesar-salad") + img(src="caesar-salad/final.png") + | Caesar Salad + + a(href="cucumber-salad") + img(src="cucumber-salad/final.png") + | Cucumber Salad + + a(href="ruths-chris-chopped-salad") + img(src="ruths-chris-chopped-salad/final.png") + | Ruth's Chris Chopped Salad + + h1 Main Dish + + a(href="bbq-pork-ribs") + img(src="bbq-pork-ribs/final.png") + | BBQ Pork Ribs + + a(href="beef-bourguignon") + img(src="beef-bourguignon/final.png") + | Beef Bourguignon + + a(href="butter-chicken") + img(src="butter-chicken/large.png") + | Butter Chicken + + a(href="chicken-cordon-bleu") + img(src="chicken-cordon-bleu/final.png") + | Chicken Cordon Bleu + + a(href="chicken-pot-pie") + img(src="chicken-pot-pie/final.png") + | Chicken Pot Pie + + a(href="chicken-breasts-with-caper-cream-sauce") + img(src="chicken-breasts-with-caper-cream-sauce/final.png") + | Chicken Breasts with Caper Cream Sauce + + a(href="chole") + img(src="chole/final.png") + | Chole + + a(href="garlic-prime-rib") + img(src="garlic-prime-rib/final.png") + | Garlic Prime Rib + + a(href="gnocchi") + img(src="gnocchi/final.png") + | Gnocchi + + a(href="kielbasa-and-cabbage") + img(src="kielbasa-and-cabbage/final.png") + | Kielbasa and Cabbage + + a(href="kofta-kebabs") + img(src="kofta-kebabs/final.png") + | Kofta Kebabs + + a(href="lemon-chicken-with-mushroom-sauce") + img(src="lemon-chicken-with-mushroom-sauce/final.png") + | Lemon Chicken with Mushroom Sauce + + a(href="orange-chicken") + img(src="orange-chicken/final.png") + | Orange Chicken + + a(href="ratatouille") + img(src="ratatouille/final.png") + | Ratatouille + + a(href="ricotta-meatballs") + img(src="ricotta-meatballs/final.png") + | Ricotta Meatballs + + a(href="roast-leg-of-lamb-with-rosemary") + img(src="roast-leg-of-lamb-with-rosemary/final.png") + | Roast Leg of Lamb with Rosemary + + a(href="shrimp-with-sweet-potatoes-and-bacon") + img(src="shrimp-with-sweet-potatoes-and-bacon/final.png") + | Shrimp with Sweet Potatoes and Bacon + + a(href="sloppy-joe-sandwiches") + img(src="sloppy-joe-sandwiches/final.png") + | Sloppy Joe Sandwiches + + h1 Sides + + a(href="bok-choy-with-garlic") + img(src="bok-choy-with-garlic/final.png") + | Bok Choy with Garlic + + a(href="bourbon-glazed-carrots") + img(src="bourbon-glazed-carrots/final.png") + | Bourbon Glazed Carrots + + a(href="creamed-spinach") + img(src="creamed-spinach/final.png") + | Creamed Spinach + + a(href="garlic-broccoli") + img(src="garlic-broccoli/final.png") + | Garlic Broccoli + + a(href="hummus") + img(src="hummus/final.png") + | Hummus + + a(href="pommes-puree") + img(src="pommes-puree/final.png") + | Pommes Purée + + a(href="sauteed-mushrooms") + img(src="sauteed-mushrooms/large.png") + | Sauteed Mushrooms + + a(href="sweet-potatoes-with-honey-and-rosemary") + img(src="sweet-potatoes-with-honey-and-rosemary/final.png") + | Sweet Potatoes with Honey and Rosemary + + a(href="tzatziki") + img(src="tzatziki/final.png") + | Tzatziki diff --git a/src/templates/recipe.pug b/src/templates/recipe.pug new file mode 100644 index 0000000..d9156bb --- /dev/null +++ b/src/templates/recipe.pug @@ -0,0 +1,40 @@ +doctype html +html + head + link(href="../style2.css" rel="stylesheet" type="text/css") + meta(charset="UTF-8") + meta(name="viewport" content="user-scalable=no, width=device-width") + + body.recipe + section.header + .image(style="background-image: url('./large.png')") + + .about + h1 #{title} + + .timing prep #{timings.prep}, cook #{timings.cook} + + .icons + each icon in icons + .icon(class=icon) + .icon.serving + | × #{servings} + + .description #{description} + + section.instructions + - let stepNumber = 1 + each step in steps + .step + h3 #{stepNumber} + .ingredients + ul + each ingredient in step.ingredients + li + .amount #{asFraction(ingredient.amount)} #{ingredient.unit} + .item #{ingredient.item} + .detail #{step.directions} + - stepNumber++ + + if credit + section.credits #{credit.name}, #{credit.url}