diff --git a/assets/img/favicon.ico b/assets/img/favicon.ico new file mode 100644 index 0000000..cef459b Binary files /dev/null and b/assets/img/favicon.ico differ diff --git a/assets/img/recipes/chocolateChipCookies.jpeg b/assets/img/recipes/chocolateChipCookies.jpeg deleted file mode 100644 index 3785310..0000000 Binary files a/assets/img/recipes/chocolateChipCookies.jpeg and /dev/null differ diff --git a/assets/img/recipes/chocolateChipCookies.jpg b/assets/img/recipes/chocolateChipCookies.jpg new file mode 100644 index 0000000..956415d Binary files /dev/null and b/assets/img/recipes/chocolateChipCookies.jpg differ diff --git a/assets/img/recipes/coconutClouds.jpg b/assets/img/recipes/coconutClouds.jpg new file mode 100644 index 0000000..2655adf Binary files /dev/null and b/assets/img/recipes/coconutClouds.jpg differ diff --git a/assets/img/recipes/karaChili.jpg b/assets/img/recipes/karaChili.jpg new file mode 100644 index 0000000..39d97e5 Binary files /dev/null and b/assets/img/recipes/karaChili.jpg differ diff --git a/assets/img/recipes/karaLentil.jpg b/assets/img/recipes/karaLentil.jpg new file mode 100644 index 0000000..a5d8a83 Binary files /dev/null and b/assets/img/recipes/karaLentil.jpg differ diff --git a/prestart.js b/prestart.js index 77b8367..eee84d4 100644 --- a/prestart.js +++ b/prestart.js @@ -127,7 +127,7 @@ function convertRecipeMarkdown(inputDir, outputDir) { return; } - var ingredientTableRegex = new RegExp(`^(.*?)\\|(.*?)(\\|.*?\\|.*?)\n`, `gm`); + var ingredientTableRegex = new RegExp(`^(\\|?.*?)\\|(.*?)(\\|.*?\\|.*?)\n`, `gm`); var ingredientDashCheck = new RegExp("^\-+$"); ingredientTableMatcher = ingredientTableRegex.exec(data); while (ingredientTableMatcher != null) { @@ -139,7 +139,6 @@ function convertRecipeMarkdown(inputDir, outputDir) { data = data.replace(ingredientTableMatcher[0], `${meas}${ingredientTableMatcher[3]}\n`); ingredientTableMatcher = ingredientTableRegex.exec(data); } - ingredientTableRegex = new RegExp(`^(.*?)\\|(.*?)(\\|.*?\\|.*?)\n`, `gm`); ingredientTableMatcher = ingredientTableRegex.exec(data); while (ingredientTableMatcher != null) { meas = ingredientTableMatcher[1]; @@ -252,7 +251,7 @@ function generateRecipeNavigatorList(recipeSrcDir, generatedOutputDir) { // instead of alphabetically let tagListPartialOut = ""; allRecipeHashtags.sort().forEach(hashtag => { - tagListPartialOut += `\n`; + tagListPartialOut += `\n`; }); fs.writeFileSync(generatedOutputDir + "recipe-tags.ejs", tagListPartialOut, "utf-8"); }); diff --git a/recipes/chocolateChipCookies.md b/recipes/chocolateChipCookies.md index ff165ec..64ad564 100644 --- a/recipes/chocolateChipCookies.md +++ b/recipes/chocolateChipCookies.md @@ -4,7 +4,7 @@ *yields: ~4 dozen* - + ## Ingredients diff --git a/recipes/coconutMeringueMacaroons.md b/recipes/coconutMeringueMacaroons.md new file mode 100644 index 0000000..284050b --- /dev/null +++ b/recipes/coconutMeringueMacaroons.md @@ -0,0 +1,22 @@ +# Coconut Meringue Macaroons + +#dessert + + + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +1 1/4 | c | 250g | Sugar +3/4 | c | 180g | Water +3 | | 102g | Egg Whites +3 | c | 227g | Coconut + +## Instructions + +1. Toast coconut by spreading evenly on a sheet and baking at 325. Check/stir every 2-3 minutes until lightly browned. +2. Combine sugar and water in saucepan over medium heat. Stir until clear. Bring to a boil and watch on candy thermometer for soft ball. +3. While sugar cooks, place egg whites in stand mixer. Time so they reach medium peaks when sugar mixture hits soft ball. +4. When sugar ready, put mixer on medium-low and slowly add to egg whites. Once incorporated, mix on high until back at room temperature. Fold in toasted coconut and scoop onto sheet. +5. Bake 12 minutes at 325 diff --git a/recipes/hotFudgePudding.md b/recipes/hotFudgePudding.md new file mode 100644 index 0000000..a05cf34 --- /dev/null +++ b/recipes/hotFudgePudding.md @@ -0,0 +1,25 @@ +# Hot Fudge Pudding + +#dessert + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +1 1/2 | c | | Flour +3 | tsp | | Baking Powder +1/2 | tsp | | Salt +3/4 | c | | Sugar +3 | tbsp | | Cocoa +3/4 | c | | Milk +3 | tbsp | | Oil +1 | c | | Brown Sugar +1/4 | c | | Cocoa +2 1/4 | c | | Water + +## Instructions + +1. Mix flour, baking powder, salt, sugar and 3T cocoa. Stir in milk and oil. Pour into 2q baking dish +2. Combine brown sugar and 1/4c cocoa. Distribute evenly over batter in pan +3. Heat water. Pour hot water over everything +4. Bake 45 minutes at 375. Serve warm with whipped cream or ice cream diff --git a/recipes/jillyChicken.md b/recipes/jillyChicken.md new file mode 100644 index 0000000..cbe0184 --- /dev/null +++ b/recipes/jillyChicken.md @@ -0,0 +1,23 @@ +# Jilly Chicken + +#dinner #chicken + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +1 | Ib | | Chicken +1/2 | c | | Soy Sauce +1/2 | c | | Lemon Juice +1/2 | c | | Oil +1 | tbsp | | Basil + +## Instructions + +1. Cut chicken in strips (about the size of chicken fingers) +2. Combine all other ingredients in the pan you plan to cook the chicken in +3. Lay each piece of chicken in the sauce so they are not overlapped (touching is ok) +4. Marinate chicken for 30-60 minutes, preheat oven to 350 +5. Bake the marinated chicken in the sauce for 30ish minutes, or until done +Note: take the pan out of the oven and flip the chicken pieces (using a fork) after 10 minutes of baking. +6. Enjoy on rice diff --git a/recipes/karaChili.md b/recipes/karaChili.md new file mode 100644 index 0000000..6be5a7e --- /dev/null +++ b/recipes/karaChili.md @@ -0,0 +1,26 @@ +# Kara's Chili + +#dinner #soup + + + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +2 | can | | Kidney Beans +2 | can | | Pinto Beans +2 | can | | Black Beans +1 (8oz) | can | | Tomato Paste +1 | can | | Petite Diced Tomatoes +4 | clove | | Garlic +1 | Ib | | Ground Beef +| | | | Salt +| | | | Pepper +| | | | Cumin +| | | | Cayenne Pepper + +## Instructions + +1. Brown beef on medium heat. Mince garlic while it cooks +2. Remove excess fat. Add everything. Season to taste. Let simmer 20m diff --git a/recipes/karaLentil.md b/recipes/karaLentil.md new file mode 100644 index 0000000..bf8cc99 --- /dev/null +++ b/recipes/karaLentil.md @@ -0,0 +1,37 @@ +# Kara's Lentils + +#dinner #soup + + + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +1 | Ib | | Lentil +2 | | | Potato +2 | | | Red Bell Pepper +2 | | | JalapeƱo +8 | clove | | Garlic +6 | tbsp | | Curry Powder +6 | c | | Chicken Broth +| | | | Cumin +| | | | Cayenne Pepper +| | | | Turmeric +| | | | Coriander +| | | | Plain Yogurt +| | | | Mustard Seeds +1 | bunch | | Cilantro +2 | tbsp | | Sesame Oil + +## Instructions + +1. Wash and dry produce +2. Small dice potatoes, jalapeƱos and bell pepper +3. Warm sesame oil in large pot +4. Once oil is warm, add mustard seeds. Stir occassionally until they start to pop +5. Add diced potato and fry until slightly tender. Add lentils +6. Add all the seasonings and mix until the potatoes and lentils are evenly coated +7. Pour in broth. Add all fresh vegetables +8. Bring to a boil. Then simmer, stirring occasionally until lentils are tender +9. Serve in bowls with a dollop of yogurt and a sprinkle of cilantro diff --git a/recipes/peppermintBrownies.md b/recipes/peppermintBrownies.md new file mode 100644 index 0000000..97b3478 --- /dev/null +++ b/recipes/peppermintBrownies.md @@ -0,0 +1,25 @@ +# Peppermint Brownies + +#dessert + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +17 | | | York Patties +3/4 | c | | Cocoa +1/2 | tsp | | Baking Soda +2/3 | c | | Butter +1/2 | c | | Water +2 | c | | Sugar +2 | | | Egg +1 1/3 | c | | Flour +1 | tsp | | Vanilla +1 | tsp | | Powdered Sugar + +## Instructions + +1. Coarsely chop peppermint patties, set aside. Bring water to a boil +2. Mix cocoa and baking soda in large bowl. Melt and mix in 1/3c butter. Add boiling water, mix well +3. Add sugar, eggs and remaining butter. Add flour, vanilla and salt. Mix well, then stir in York pieces +4. Preheat oven to 350. Grease pan well and sprinkle with cinnamon before spreading batter. Bake 35-40m diff --git a/recipes/spinachCasserole.md b/recipes/spinachCasserole.md new file mode 100644 index 0000000..95e0650 --- /dev/null +++ b/recipes/spinachCasserole.md @@ -0,0 +1,36 @@ +# Spinach Casserole + +#dinner #chicken + +## Ingredients + +Measure | Unit | Weight | Ingredient +--------|------|--------|----------- +1 | c | | Sour Cream +1/3 | c | | Milk +1/2 | tsp | | Garlic Powder +1/4 | tsp | | Cumin +Dash | | | Hot Pepper Sauce +1 | can | | Cream of Chicken +9 | oz | | Frozen Chopped Spinach +2-3 | c | | Cubed Chicken, cooked +1 | c | | Shredded Monterey Jack Cheese +1/2 | c | | Shredded Cheddar +**Topping** | | | +2 | | | Egg +1 | c | | Flour +1 1/2 | tsp | | Baking Powder +3/4 | c | | Milk +1/4 | c | | Butter +Dash | | | Paprika + +## Instructions + +1. Grease 2qt casserole pan. +2. In large bowl: combine sour cream, milk, garlic salt, cumin, hot pepper sauce, soup, spinach and chilies. Blend well +3. In second bowl: combine chicken and cheeses, toss lightly +4. Spoon half of spinach mixture into casserole pan, then half of chicken mixture. Repeat +5. Separate eggs. In separate bowl beat egg whites until stiff +6. Topping: combine flour, milk, butter and egg yolks. Beat at low speed until moistened. Beat 4m at high speed +7. Fold egg whites into topping. Pour over filling. Sprinkle with paprika +8. Bake 40-45m at 375 or until deep golden brown diff --git a/views/pages/recipe_navigator.ejs b/views/pages/recipe_navigator.ejs index a92c9db..ae6df09 100644 --- a/views/pages/recipe_navigator.ejs +++ b/views/pages/recipe_navigator.ejs @@ -12,7 +12,7 @@