Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
daveroberts committed Aug 11, 2024
1 parent 2f91d96 commit 9882124
Show file tree
Hide file tree
Showing 30 changed files with 729 additions and 1,072 deletions.
9 changes: 9 additions & 0 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ const fs = require("fs");
const path = require("path");
const ejs = require("ejs");
const esbuild = require("esbuild");
const less = require("less");

const BUILD_DIR = "build";
const TEMPLATES_DIR = "templates";
const STYLESEETS_DIR = "stylesheets";
const STATIC_DIR = "static";

const state = require("./state.js");
Expand All @@ -25,6 +27,13 @@ esbuild.buildSync({
sourcemap: true,
});

let index_less = fs
.readFileSync(path.join(STYLESEETS_DIR, "index.less"))
.toString();
less.render(index_less).then((index_css) => {
fs.writeFileSync(path.join(BUILD_DIR, "index.css"), index_css.css);
});

let index_template_html = fs
.readFileSync(path.join(TEMPLATES_DIR, "index.html.ejs"))
.toString();
Expand Down
308 changes: 51 additions & 257 deletions build/index.html

Large diffs are not rendered by default.

52 changes: 9 additions & 43 deletions build/recipe/beef-enchiladas.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,18 @@
>

<span class="tag">Cold Weather</span>

<span class="tag">to try</span>

</span>
</div>
<div>

<a
target="_blank"
href="mailto:?subject=Recipe: Beef Enchiladas&body=Beef Enchiladas%0D%0Ahttps://daveroberts.github.io/recipes/build/recipe/Beef Enchiladas.html%0D%0A%0D%0Aground beef%0D%0Atortillas%0D%0Aonion%0D%0Ajalapenos%0D%0Ashredded mexican cheese%0D%0Abaking soda%0D%0Achicken broth%0D%0Atomato sauce%0D%0Agarlic%0D%0Achili powder%0D%0Acumin%0D%0Aoregano%0D%0Aflour%0D%0A%0D%0ATenderize the Meat: In a medium bowl, combine the beef, baking soda, and salt. beef, salt, baking soda in bowl. Mash with your hands until evenly combined and let sit on the counter for at least 20 minutes. As it rests, the baking soda raises the pH of the meat, helping to lock in moisture and making the beef tender.%0D%0APrep: While the beef rests, chop the onion, jalapeño, and garlic and prep your other ingredients.%0D%0AMake the Sauce: Heat the oil in a large nonstick skillet over medium-high heat and add the meat. Cook, breaking it up with a wooden spoon, until browned, about 5 minutes. Using a slotted spoon, transfer the browned meat to a plate. Add the onion, jalapeño pepper, and garlic to the skillet. Cook, stirring frequently, until the onion is softened, 3 to 4 minutes. Do not brown; reduce the heat if necessary.%0D%0AAdd the chili powder, cumin, oregano, and flour. adding spices and flour to the pan. Cook, stirring constantly, to toast the flour and spices for 1 minute more. Stir in the tomato sauce. Gradually pour in the chicken broth, stirring to combine. Add the beef.%0D%0ABring to a boil, then reduce the heat and vigorously simmer until the sauce is thickened, 12 to 14 minutes. Taste and adjust the seasoning, if necessary.%0D%0ASoften the Tortillas: Pour the oil into a small bowl or ramekin. Using a pastry brush, brush both sides of each tortilla with oil, then stack them on a plate and microwave until hot and steamy, about 1-1/2 minutes. This makes them pliable; if you skip this step, they’ll likely tear when you roll them.brushing corn tortillas with oil%0D%0AAssemble the Enchiladas and Bake. Spoon about 1 cup of the sauce evenly into the bottom of a 13×9-inch baking dish.%0D%0AWorking directly on the stack of tortillas, put about 3 tablespoons of cheese and 2 generous tablespoons of the sauce in the center of the top tortilla.%0D%0APlace it seam-side down in the pan, and repeat with the remaining tortillas, nestling each one against the last. (You’ll have two rows of 5 enchiladas.)%0D%0ASpoon the remaining sauce over the rolled tortillas and sprinkle with the remaining cheese. (I like to sprinkle the cheese over the center of each row of enchiladas, rather than all over, so that the tortillas are partially exposed during baking.)%0D%0ABake until the sauce bubbles and the cheese is melted, about 15 minutes."
href="mailto:?subject=Recipe: Beef Enchiladas&body=Beef Enchiladas%0D%0Ahttps://daveroberts.github.io/recipes/build/recipe/Beef Enchiladas.html%0D%0A%0D%0Aground beef%0D%0Atortillas%0D%0Aonion%0D%0Ashredded cheddar/mexican cheese%0D%0Acan beans%0D%0Acan diced tomatoes%0D%0A2 cans red enchilada sauce%0D%0A%0D%0ACook meat and onions%0D%0ACombine all in stand mixer%0D%0AAdd to tortillas, add to baking dish, 350F for 40min"
>Share Recipe 📧</a
>
</div>

<div>
<a class="external_link" target="_blank" href="https://www.onceuponachef.com/recipes/beef-enchiladas.html">https://www.onceuponachef.com/recipes/beef-enchiladas.html 🔗</a>
</div>


<div class="version">

<h4>Ingredients</h4>
Expand All @@ -45,52 +39,24 @@ <h4>Ingredients</h4>

<li>onion</li>

<li>jalapenos</li>

<li>shredded mexican cheese</li>

<li>baking soda</li>

<li>chicken broth</li>

<li>tomato sauce</li>

<li>garlic</li>
<li>shredded cheddar/mexican cheese</li>

<li>chili powder</li>
<li>can beans</li>

<li>cumin</li>
<li>can diced tomatoes</li>

<li>oregano</li>

<li>flour</li>
<li>2 cans red enchilada sauce</li>

</ul>

<h4>Instructions</h4>
<ol>

<li>Tenderize the Meat: In a medium bowl, combine the beef, baking soda, and salt. beef, salt, baking soda in bowl. Mash with your hands until evenly combined and let sit on the counter for at least 20 minutes. As it rests, the baking soda raises the pH of the meat, helping to lock in moisture and making the beef tender.</li>

<li>Prep: While the beef rests, chop the onion, jalapeño, and garlic and prep your other ingredients.</li>

<li>Make the Sauce: Heat the oil in a large nonstick skillet over medium-high heat and add the meat. Cook, breaking it up with a wooden spoon, until browned, about 5 minutes. Using a slotted spoon, transfer the browned meat to a plate. Add the onion, jalapeño pepper, and garlic to the skillet. Cook, stirring frequently, until the onion is softened, 3 to 4 minutes. Do not brown; reduce the heat if necessary.</li>

<li>Add the chili powder, cumin, oregano, and flour. adding spices and flour to the pan. Cook, stirring constantly, to toast the flour and spices for 1 minute more. Stir in the tomato sauce. Gradually pour in the chicken broth, stirring to combine. Add the beef.</li>

<li>Bring to a boil, then reduce the heat and vigorously simmer until the sauce is thickened, 12 to 14 minutes. Taste and adjust the seasoning, if necessary.</li>

<li>Soften the Tortillas: Pour the oil into a small bowl or ramekin. Using a pastry brush, brush both sides of each tortilla with oil, then stack them on a plate and microwave until hot and steamy, about 1-1/2 minutes. This makes them pliable; if you skip this step, they’ll likely tear when you roll them.brushing corn tortillas with oil</li>

<li>Assemble the Enchiladas and Bake. Spoon about 1 cup of the sauce evenly into the bottom of a 13×9-inch baking dish.</li>

<li>Working directly on the stack of tortillas, put about 3 tablespoons of cheese and 2 generous tablespoons of the sauce in the center of the top tortilla.</li>

<li>Place it seam-side down in the pan, and repeat with the remaining tortillas, nestling each one against the last. (You’ll have two rows of 5 enchiladas.)</li>
<li>Cook meat and onions</li>

<li>Spoon the remaining sauce over the rolled tortillas and sprinkle with the remaining cheese. (I like to sprinkle the cheese over the center of each row of enchiladas, rather than all over, so that the tortillas are partially exposed during baking.)</li>
<li>Combine all in stand mixer</li>

<li>Bake until the sauce bubbles and the cheese is melted, about 15 minutes.</li>
<li>Add to tortillas, add to baking dish, 350F for 40min</li>

</ol>

Expand Down
109 changes: 109 additions & 0 deletions build/recipe/breakfast-burritos-tacos.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="description" content="Breakfast Burritos / Tacos" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" type="text/css" href="../index.css" />
<title>Breakfast Burritos / Tacos</title>
</head>
<body>
<a href="../">← Back to recipe list</a>
<div style="margin: 1em 0">
<span style="display: flex; align-items: center; column-gap: 10pt">
<a class="recipe-title" href="breakfast-burritos-tacos.html"
>Breakfast Burritos / Tacos</a
>

<span class="tag">Breakfast</span>

</span>
</div>
<div>

<a
target="_blank"
href="mailto:?subject=Recipe: Breakfast Burritos / Tacos&body=Breakfast Burritos / Tacos%0D%0Ahttps://daveroberts.github.io/recipes/build/recipe/Breakfast Burritos Tacos.html%0D%0ASausage%0D%0Abreakfast sausage or chorizo or ground turkey/beef or bacon%0D%0Aeggs%0D%0Abell pepper%0D%0A1/2 onion%0D%0Apotato%0D%0A%0D%0ABreak down sausage and fry. Remove from pan.%0D%0ADice potatoes into small cubes and fry until golden, remove from pan%0D%0AScramble eggs, remove from pan%0D%0ADice and Saute veggies%0D%0ASausage%0D%0Abreakfast sausage or ground turkey/beef%0D%0Aeggs%0D%0Abell pepper%0D%0A1/2 onion%0D%0Apotato%0D%0A%0D%0ABreak down sausage and fry. Remove from pan.%0D%0ADice potatoes into small cubes and fry until golden, remove from pan%0D%0AScramble eggs, remove from pan%0D%0ADice and Saute veggies"
>Share Recipe 📧</a
>
</div>

<div>
<a class="external_link" target="_blank" href="https://www.youtube.com/watch?v=ShKEzA9wo_I">https://www.youtube.com/watch?v=ShKEzA9wo_I 🔗</a>
</div>

<div>
<a class="external_link" target="_blank" href="https://www.youtube.com/watch?v=xdwLxfJBOWE">https://www.youtube.com/watch?v=xdwLxfJBOWE 🔗</a>
</div>

<h3>Sausage</h3>

<div class="version">

<h4>Ingredients</h4>
<ul>

<li>breakfast sausage or chorizo or ground turkey/beef or bacon</li>

<li>eggs</li>

<li>bell pepper</li>

<li>1/2 onion</li>

<li>potato</li>

</ul>

<h4>Instructions</h4>
<ol>

<li>Break down sausage and fry. Remove from pan.</li>

<li>Dice potatoes into small cubes and fry until golden, remove from pan</li>

<li>Scramble eggs, remove from pan</li>

<li>Dice and Saute veggies</li>

</ol>

</div>

<h3>Sausage</h3>

<div class="version">

<h4>Ingredients</h4>
<ul>

<li>breakfast sausage or ground turkey/beef</li>

<li>eggs</li>

<li>bell pepper</li>

<li>1/2 onion</li>

<li>potato</li>

</ul>

<h4>Instructions</h4>
<ol>

<li>Break down sausage and fry. Remove from pan.</li>

<li>Dice potatoes into small cubes and fry until golden, remove from pan</li>

<li>Scramble eggs, remove from pan</li>

<li>Dice and Saute veggies</li>

</ol>

</div>

<script type="text/javascript" src="../bundle.js"></script>
</body>
</html>
2 changes: 2 additions & 0 deletions build/recipe/breakfast-casserole.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
>

<span class="tag">Breakfast</span>

<span class="tag">Favorite</span>

</span>
</div>
Expand Down
4 changes: 1 addition & 3 deletions build/recipe/breakfast-snack-taco.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<a class="recipe-title" href="breakfast-snack-taco.html"
>Breakfast Snack Taco</a
>

<span class="tag">Lunch</span>


</span>
</div>
<div>
Expand Down
6 changes: 2 additions & 4 deletions build/recipe/chicken-a-la-king.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@
</div>

<div style="margin-bottom: 5pt"><strong>Note: It shares many ingredients with Gumbo, so maybe buy ingredients for both at once</strong></div>

<div>
<a class="external_link" target="_blank" href="https://www.youtube.com/watch?v=WvO8EuM1egc"
>https://www.youtube.com/watch?v=WvO8EuM1egc 🔗</a
>
<a class="external_link" target="_blank" href="https://www.youtube.com/watch?v=WvO8EuM1egc">https://www.youtube.com/watch?v=WvO8EuM1egc 🔗</a>
</div>

<h3>gather</h3>
Expand Down
4 changes: 1 addition & 3 deletions build/recipe/chicken-or-tuna-sandwich.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@
<a class="recipe-title" href="chicken-or-tuna-sandwich.html"
>Chicken or Tuna Sandwich</a
>

<span class="tag">Lunch</span>


</span>
</div>
<div>
Expand Down
30 changes: 1 addition & 29 deletions build/recipe/chicken-shawarma.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<a
target="_blank"
href="mailto:?subject=Recipe: Chicken Shawarma&body=Chicken Shawarma%0D%0Ahttps://daveroberts.github.io/recipes/build/recipe/Chicken Shawarma.html%0D%0ASpice Marinade%0D%0A2 tsp garlic powder%0D%0A1 tsp turmeric %0D%0A1 tsp cumin %0D%0A1 tsp coriander %0D%0A1 tsp all spice %0D%0A2 tsp smoked paprika %0D%0A1 tsp onion %0D%0A1 tsp cardamom %0D%0A1/2 tsp clove %0D%0A1/2 tsp cayenne pepper%0D%0A1/2 tsp msg%0D%0A1 Tbsp sugar %0D%0A1.5tsp salt%0D%0A2 Tbsp olive oil%0D%0A1.5 Tbsp lemon juice%0D%0A4 Tbsp white vinegar%0D%0A2 Tbsp tomato paste%0D%0Aliquid smoke (optional, or use real smoke, see below)%0D%0A%0D%0AMix dry ingredients%0D%0AAdd olive oil, lemon juice and tomato paste%0D%0Aoptionally, add lemon zest%0D%0AChicken Prep%0D%0A2 pounds boneless skinless chicken thighs%0D%0A%0D%0ASlice thighs into little strips%0D%0AMarinade overnight%0D%0AToum sauce%0D%0A1 full bulb of garlic%0D%0A1 cup neutral oil (corn, canola, vegetable, avocado, grapeseed, sunflower, peanut)%0D%0A4 Tbsp lemon juice%0D%0Apinch of salt%0D%0A%0D%0ABlend all ingredients together%0D%0AMake fries (optional)%0D%0Afrozen fries%0D%0A%0D%0AMake some frensh friend in the air frier. Goes well in/with Shawarma%0D%0ACooking the chicken%0D%0Adill relish or sliced pickes%0D%0A%0D%0ASlice some dill pickles if you don&#39;t have dill relish%0D%0ASear the chicken on high heat. Don&#39;t crowd the pan. Allow a crust to develop%0D%0ASmoke the chicken (optional)%0D%0APan with cover%0D%0ACharcoal from indian / middle eastern%0D%0A%0D%0AIn a pan which has a cover, move the chicken to the edges to clear a cirlce in the center of the pan%0D%0ALine a very small ramakin with aluminium foil. Add neutral oil to the ramakin, put the ramakin in the center of the pan%0D%0AMove the pan outside%0D%0ALight a small charcoal and put it into the oil. The oil will burn and make smoke. Cover your pan. Let the meat smoke for 5-10 minutes%0D%0AFinal Assembly%0D%0Adill relish or sliced pickes%0D%0Apomegranite molassses%0D%0Afrench fries%0D%0Apitas%0D%0Aparchment paper%0D%0Aaluminum foil%0D%0A%0D%0AAdd pita to pan to soak leftover chicken fat, spread toum sauce on pita in pan, add chicken and sliced dill pickles%0D%0AAdd fries (optional)%0D%0AAdd pomegranite molassses (optional)%0D%0AWrap pita in parchment paper%0D%0AWrap pita in aluminum foil, heat in pan, slice diagonally%0D%0AServe with Toum"
href="mailto:?subject=Recipe: Chicken Shawarma&body=Chicken Shawarma%0D%0Ahttps://daveroberts.github.io/recipes/build/recipe/Chicken Shawarma.html%0D%0ASpice Marinade%0D%0A2 tsp garlic powder%0D%0A1 tsp turmeric %0D%0A1 tsp cumin %0D%0A1 tsp coriander %0D%0A1 tsp all spice %0D%0A2 tsp smoked paprika %0D%0A1 tsp onion %0D%0A1 tsp cardamom %0D%0A1/2 tsp clove %0D%0A1/2 tsp cayenne pepper%0D%0A1/2 tsp msg%0D%0A1 Tbsp sugar %0D%0A1.5tsp salt%0D%0A2 Tbsp olive oil%0D%0A1.5 Tbsp lemon juice%0D%0A4 Tbsp white vinegar%0D%0A2 Tbsp tomato paste%0D%0Aliquid smoke (optional, or use real smoke, see below)%0D%0A%0D%0AMix dry ingredients%0D%0AAdd olive oil, lemon juice and tomato paste%0D%0Aoptionally, add lemon zest%0D%0AChicken Prep%0D%0A2 pounds boneless skinless chicken thighs%0D%0A%0D%0ASlice thighs into little strips%0D%0AMarinade overnight%0D%0AToum sauce%0D%0A1 full bulb of garlic%0D%0A1 cup neutral oil (corn, canola, vegetable, avocado, grapeseed, sunflower, peanut)%0D%0A4 Tbsp lemon juice%0D%0Apinch of salt%0D%0A%0D%0ABlend all ingredients together%0D%0AMake fries (optional)%0D%0Afrozen fries%0D%0A%0D%0AMake some frensh friend in the air frier. Goes well in/with Shawarma%0D%0ACooking the chicken%0D%0Adill relish or sliced pickes%0D%0A%0D%0ASlice some dill pickles if you don&#39;t have dill relish%0D%0ASear the chicken on high heat. Don&#39;t crowd the pan. Allow a crust to develop%0D%0AFinal Assembly%0D%0Adill relish or sliced pickes%0D%0Apomegranite molassses%0D%0Afrench fries%0D%0Apitas%0D%0Aparchment paper%0D%0Aaluminum foil%0D%0A%0D%0AAdd pita to pan to soak leftover chicken fat, spread toum sauce on pita in pan, add chicken and sliced dill pickles%0D%0AAdd fries (optional)%0D%0AAdd pomegranite molassses (optional)%0D%0AWrap pita in parchment paper%0D%0AWrap pita in aluminum foil, heat in pan, slice diagonally%0D%0AServe with Toum"
>Share Recipe 📧</a
>
</div>
Expand Down Expand Up @@ -182,34 +182,6 @@ <h4>Instructions</h4>

</div>

<h3>Smoke the chicken (optional)</h3>

<div class="version">

<h4>Ingredients</h4>
<ul>

<li>Pan with cover</li>

<li>Charcoal from indian / middle eastern</li>

</ul>

<h4>Instructions</h4>
<ol>

<li>In a pan which has a cover, move the chicken to the edges to clear a cirlce in the center of the pan</li>

<li>Line a very small ramakin with aluminium foil. Add neutral oil to the ramakin, put the ramakin in the center of the pan</li>

<li>Move the pan outside</li>

<li>Light a small charcoal and put it into the oil. The oil will burn and make smoke. Cover your pan. Let the meat smoke for 5-10 minutes</li>

</ol>

</div>

<h3>Final Assembly</h3>

<div class="version">
Expand Down
Loading

0 comments on commit 9882124

Please sign in to comment.