diff --git a/_includes/base.njk b/_includes/base.njk index f3fa797..770935e 100644 --- a/_includes/base.njk +++ b/_includes/base.njk @@ -15,6 +15,7 @@ --color-text-heading: #2c3e50; --color-text-muted: #666; --color-text-link: #3498db; + --color-text-link-muted: #999; /* Backgrounds */ --color-bg-page: #fff; --color-bg-surface: #f5f5f5; @@ -65,6 +66,7 @@ --color-text-heading: #f0f0f0; --color-text-muted: #a0a0a0; --color-text-link: #5dade2; + --color-text-link-muted: #777; --color-bg-page: #1a1a1a; --color-bg-surface: #2d2d2d; --color-bg-warning: #3d3520; diff --git a/_includes/post.njk b/_includes/post.njk index 1050c2f..03e44d2 100644 --- a/_includes/post.njk +++ b/_includes/post.njk @@ -28,9 +28,45 @@ pageType: post

Tags

{% endif %} + + {% set currentIndex = -1 %} + {% for post in collections.posts %} + {% if post.url == page.url %} + {% set currentIndex = loop.index0 %} + {% endif %} + {% endfor %} + + {% if currentIndex >= 0 %} + {% set prevPost = collections.posts[currentIndex - 1] if currentIndex > 0 else null %} + {% set nextPost = collections.posts[currentIndex + 1] if currentIndex < collections.posts.length - 1 else null %} + + + {% endif %} \ No newline at end of file diff --git a/_includes/recipe.njk b/_includes/recipe.njk index 444fda5..62b523b 100644 --- a/_includes/recipe.njk +++ b/_includes/recipe.njk @@ -4,10 +4,15 @@ pageType: recipe ---
{% if isDraft %} -
+
⚠️ This recipe is still a draft and may be incomplete or subject to changes.
{% endif %} + {% if plantBased === false %} +
+ This recipe contains products of animal agriculture. Animal agriculture is a significant contributor to greenhouse gas emissions, deforestation, water pollution, and worker exploitation. Consider exploring plant-based alternatives to reduce negative impacts. +
+ {% endif %}

{{ title }}

{% if isDraft %} diff --git a/css/style.css b/css/style.css index 4dd619e..a21187b 100644 --- a/css/style.css +++ b/css/style.css @@ -309,8 +309,8 @@ a { text-decoration: none; } -/* Draft Warning Banner */ -.draft-warning-banner { +/* Warning Banner */ +.warning-banner { background-color: var(--color-bg-warning); border: 1px solid var(--color-border-warning); border-radius: var(--radius-block); @@ -319,6 +319,7 @@ a { color: var(--color-warning-text); font-weight: var(--font-weight-medium); text-align: center; + line-height: 1.5; } /* Footer */ @@ -331,6 +332,53 @@ footer { font-size: var(--font-size-small); } +/* Post Navigation */ +nav.post-navigation { + display: flex; + justify-content: space-between; + align-items: flex-start; + padding-top: var(--space-element); + width: 100%; +} + +.post-nav-link { + display: flex; + flex-direction: column; + text-decoration: none; +} + +.post-nav-link:hover:not(.post-nav-disabled) .post-nav-title { + text-decoration: underline; +} + +.post-nav-prev { + align-items: flex-start; + text-align: left; +} + +.post-nav-next { + align-items: flex-end; + text-align: right; +} + +.post-nav-label { + font-size: var(--font-size-small); + color: var(--color-text-muted); +} + +.post-nav-title { + color: var(--color-text-link); + font-weight: var(--font-weight-medium); +} + +.post-nav-disabled { + cursor: not-allowed; +} + +.post-nav-disabled .post-nav-label { + color: var(--color-text-link-muted); +} + /* Icon utilities */ .icon-invertible { transition: filter 0.2s; diff --git a/recipe.njk b/recipe.njk index 93ce1a2..5125756 100644 --- a/recipe.njk +++ b/recipe.njk @@ -16,6 +16,11 @@ eleventyComputed: {% if recipe %}
+ {% if recipe.data.plantBased === false %} +
+ This recipe contains products of animal agriculture. Animal agriculture is a significant contributor to greenhouse gas emissions, deforestation, water pollution, and worker exploitation. Consider exploring plant-based alternatives to reduce negative impacts. +
+ {% endif %}

{{ recipe.data.title }}

diff --git a/recipes/Apple Streusel.md b/recipes/Apple Streusel.md index 3dc6ab9..304568e 100644 --- a/recipes/Apple Streusel.md +++ b/recipes/Apple Streusel.md @@ -19,4 +19,4 @@ draft: true [^1]: about 5-8mm thick -#recipe/dessert #diet/vegan/optional #diet/vegetarian \ No newline at end of file +#recipe/dessert #diet/plant-based/optional #diet/vegetarian \ No newline at end of file diff --git a/recipes/Banana Bread.md b/recipes/Banana Bread.md index f6a529a..4e13059 100644 --- a/recipes/Banana Bread.md +++ b/recipes/Banana Bread.md @@ -31,7 +31,7 @@ makes: One ??? kg loaf - mix in remaining ingredients to mixing bowl until incorporated don't over mix - bake in oven for 45-50 minutes -#recipe/dessert #recipe/staple/bread #diet/vegan/optional #diet/vegetarian +#recipe/dessert #recipe/staple/bread #diet/plant-based/optional #diet/vegetarian [^1]: optional [^2]: can use 2 eggs instead diff --git a/recipes/Bread.md b/recipes/Bread.md index 3577240..1f6c2da 100644 --- a/recipes/Bread.md +++ b/recipes/Bread.md @@ -1,22 +1,20 @@ --- -title: Bread -draft: true +title: Bread Machine Bread +makes: 1 1kg loaf --- - -# Makes X ??? -### notes -- ??? ## Ingredients - [ ] water 360g - [ ] instant yeast 7g - [ ] bread flour 540g - [ ] salt 8g -- [ ] sugar 10g +- [ ] sugar 10g [^vegan_sugar] - [ ] olive oil 22g ## Tools -- ??? +- bread machine ## Steps - add ingredients to bread maker in listed order - run on 2lb loaf setting light crust -#recipe #diet/vegetarian \ No newline at end of file +#recipe #diet/plant-based #diet/vegetarian + +[^vegan_sugar]: some sugars use bone char to whiten them. Consider using a brand that doesn't diff --git a/recipes/Carbonara.md b/recipes/Carbonara.md index 6a1bbd0..a9684e0 100644 --- a/recipes/Carbonara.md +++ b/recipes/Carbonara.md @@ -1,11 +1,8 @@ --- title: Carbonara -draft: true +makes: 4 bowls --- -# Makes 4 bowls -### notes -- ??? ## Ingredients - [ ] water 3kg - [ ] spaghetti[3^] 1 lb @@ -45,7 +42,7 @@ draft: true - mix in meat - serve into bowls and garnish with black pepper and cheese -#recipe/dinner +#recipe/dinner #diet/omnivore [1^]: Can be substituted with Pancetta or bacon [2^]: Can be substituted with Parmesan diff --git a/recipes/Chicken Broth Powder.md b/recipes/Chicken Broth Powder.md index 1ab2546..3db9b02 100644 --- a/recipes/Chicken Broth Powder.md +++ b/recipes/Chicken Broth Powder.md @@ -1,9 +1,7 @@ --- title: Chicken Broth Powder -draft: true --- -# Makes X ??? ### notes - 1 table spoon of powder per 250-300ml of boiling water ## Ingredients @@ -22,14 +20,18 @@ draft: true - [ ] dried mushrooms 1g - [ ] spices 0.02g ## Tools -- ??? +- blender +- mortar and pestle +- sieve +- mixing bowl ## Steps -- blend or crush mushrooms and kombu into a powder +- blend or crush mushrooms and kombu into a powder[^3] - mix together all dry ingredients in bowl - thoroughly mix together remaining wet ingredients - add 1 table spoon of powder to 300 ml of boiling water and let steep for 10 minutes before eating -#recipe/ingredient #diet/vegan #diet/vegetarian +#recipe/ingredient #diet/plant-based #diet/vegetarian -[^1]: Must be Dextrose can not subsitute with other sugars -[^2]: can use any vegtibale oil but flax oil works best \ No newline at end of file +[^1]: Must be Dextrose can not substitute with other sugars +[^2]: can use any vegetable oil but flax oil works best +[^3]: forcing though a sieve can get you a very fine powder diff --git a/recipes/Chili.md b/recipes/Chili.md index f7f0886..1c62c53 100644 --- a/recipes/Chili.md +++ b/recipes/Chili.md @@ -34,7 +34,7 @@ draft: true - cut onions and bell peppers into 0.5-1cm chunks and fry in pot - dump everything else in and simmer for an hour -#recipe/dinner #diet/vegan #diet/vegetarian +#recipe/dinner #diet/plant-based #diet/vegetarian [^1]: red have more developed flavors due to being more ripe [^2]: pinto, black, navy, and red kidney beans work well [^3]: can be substituted with double the amount of crushed tomatoes but needs to simmer for longer \ No newline at end of file diff --git a/recipes/Cinnamon Streusel.md b/recipes/Cinnamon Streusel.md index 3961248..b77da50 100644 --- a/recipes/Cinnamon Streusel.md +++ b/recipes/Cinnamon Streusel.md @@ -23,4 +23,4 @@ draft: true [^1]: if adding to something that will be baked after it is added this step can be skipped -#recipe/ingredient #diet/vegan/optional #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based/optional #diet/vegetarian \ No newline at end of file diff --git a/recipes/Citrus Martini Sbagliato.md b/recipes/Citrus Martini Sbagliato.md index 2ccd082..e527bf2 100644 --- a/recipes/Citrus Martini Sbagliato.md +++ b/recipes/Citrus Martini Sbagliato.md @@ -16,4 +16,4 @@ draft: true - double strain into martini glass - (optional) garnish with lime wheel -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Cosmopolitan (rough draft).md b/recipes/Cosmopolitan (rough draft).md index a480182..3d07158 100644 --- a/recipes/Cosmopolitan (rough draft).md +++ b/recipes/Cosmopolitan (rough draft).md @@ -18,4 +18,4 @@ draft: true - add all ingredients to cocktail shaker and shake until mixed - poor though shaker filter into drink glass -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Cranberry Martini (rough draft).md b/recipes/Cranberry Martini (rough draft).md index a097208..8337fba 100644 --- a/recipes/Cranberry Martini (rough draft).md +++ b/recipes/Cranberry Martini (rough draft).md @@ -15,4 +15,4 @@ draft: true ## Steps - stir & pour -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Cream Soda (alcoholic).md b/recipes/Cream Soda (alcoholic).md index 881dd61..da80a5f 100644 --- a/recipes/Cream Soda (alcoholic).md +++ b/recipes/Cream Soda (alcoholic).md @@ -16,4 +16,4 @@ draft: true - add rum, ginger bear, and ice to glass - serve -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Creamy Mash Potatoes.md b/recipes/Creamy Mash Potatoes.md new file mode 100644 index 0000000..57d722b --- /dev/null +++ b/recipes/Creamy Mash Potatoes.md @@ -0,0 +1,32 @@ +--- +title: Creamy Mash Potatoes +draft: true +--- + +## Ingredients +- [ ] yukon gold Potatoes +- [ ] green onion +- [ ] soy milk powder +- [ ] unsalted butter +- [ ] salt +- [ ] pepper +## Tools +- pot +- mixing bowl +- hand mixer +- knife +## Steps +- cut potato's into 3cm chunks +- add potato's to minimum amount of water to completely cover them and bring to gentle simmer[^1] +- after potato's are fork tender pour out water saving some in a glass +- move potato's to mixing bowl and mash with hand mixer +- cut green onions into diamonds +- dissolve soy milk powder into a small amount of chilled water[^2] +- mix soy milk slurry into saved boil water[^3] +- mix together potato mash, green onions, soy milk, butter, salt, and pepper + +#recipe/dinner/side #diet/plant-based + +[^1]: boiling potato hard breaks their cells open and will make the final result set up very firm when it cools +[^2]: dissolving soy milk powder in cold water first prevents clumping +[^3]: then adding it to hot water reduces the grassy taste \ No newline at end of file diff --git a/recipes/Creamy Mash Potatos.md b/recipes/Creamy Mash Potatos.md deleted file mode 100644 index 8e3977e..0000000 --- a/recipes/Creamy Mash Potatos.md +++ /dev/null @@ -1,30 +0,0 @@ ---- -title: Creamy Mash Potatos -draft: true ---- - -## Ingredients -- [ ] yukon gold potatos -- [ ] green onion -- [ ] milk powder -- [ ] unsalted butter -- [ ] salt -- [ ] pepper -## Tools -- pot -- mixing bowl -- hand mixer -- knife -## Steps -- cut potato's into 3cm chunks -- add potato's to water and bring to gentle simmer boiling water[^1] -- after potato's are fork tender pour out water saving some in a glass -- move potato's to mixing bowl and mash with hand mixer[^2] -- cut green onions into diamonds -- mix together potato mash, green onions, milk powder, saved boil water, butter, salt, and pepper - -#recipe/dinner/side #diet/vegetarian - -[^1]: boiling potato hard breaks their cells open and will make the final result set up very firm when it cools - -[^2]: maybe we can mix this hot boil water with soy milk powder? \ No newline at end of file diff --git a/recipes/Dahl.md b/recipes/Dahl.md index 1426e52..127a2a2 100644 --- a/recipes/Dahl.md +++ b/recipes/Dahl.md @@ -41,6 +41,6 @@ draft: true - salt to taste - serve -#recipe #diet/vegan #diet/vegetarian +#recipe #diet/plant-based #diet/vegetarian [^1]: sesame seed or vegetable oil also work \ No newline at end of file diff --git a/recipes/Garam Masala.md b/recipes/Garam Masala.md index 5613f5a..0d5def6 100644 --- a/recipes/Garam Masala.md +++ b/recipes/Garam Masala.md @@ -23,4 +23,4 @@ draft: true - mix thoroughly until evenly distributed - store in an airtight container -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Gin Basil Smash.md b/recipes/Gin Basil Smash.md index 6e4ddc8..753dbce 100644 --- a/recipes/Gin Basil Smash.md +++ b/recipes/Gin Basil Smash.md @@ -22,4 +22,4 @@ draft: true - shake - pore over ice and garnish with basil leaf -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Gin Lemon.md b/recipes/Gin Lemon.md index 98e1f18..d7cb111 100644 --- a/recipes/Gin Lemon.md +++ b/recipes/Gin Lemon.md @@ -14,4 +14,4 @@ draft: true ## Steps - ??? -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Gin Sour (rough draft).md b/recipes/Gin Sour (rough draft).md index 11f27c9..eb88d6b 100644 --- a/recipes/Gin Sour (rough draft).md +++ b/recipes/Gin Sour (rough draft).md @@ -17,4 +17,4 @@ draft: true ## Steps - ??? -#recipe/drink/alcohol #diet/vegan/optional #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based/optional #diet/vegetarian \ No newline at end of file diff --git a/recipes/Granola.md b/recipes/Granola.md index 7c8a029..953a5e0 100644 --- a/recipes/Granola.md +++ b/recipes/Granola.md @@ -33,4 +33,4 @@ draft: true - bake for 24 minutes, stirring half way though - let cool completely on baking sheet before storing -#recipe/breakfast #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/breakfast #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Hash browns.md b/recipes/Hash browns.md index a462a51..8ffe5ab 100644 --- a/recipes/Hash browns.md +++ b/recipes/Hash browns.md @@ -35,4 +35,4 @@ draft: true - place potatoes onto a plate with a paper towel to absorb grease - serve -#recipe/breakfast #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/breakfast #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Imperial Cocktail.md b/recipes/Imperial Cocktail.md index d203d36..e4cfab5 100644 --- a/recipes/Imperial Cocktail.md +++ b/recipes/Imperial Cocktail.md @@ -19,4 +19,4 @@ draft: true - shake well - serve -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Indian Fried Rice (rough draft).md b/recipes/Indian Fried Rice (rough draft).md index 768e0df..63688e7 100644 --- a/recipes/Indian Fried Rice (rough draft).md +++ b/recipes/Indian Fried Rice (rough draft).md @@ -21,4 +21,4 @@ aliases: ## Steps - ??? -#recipe/dinner #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/dinner #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Jam Apple.md b/recipes/Jam Apple.md index 5e19a38..80c5de6 100644 --- a/recipes/Jam Apple.md +++ b/recipes/Jam Apple.md @@ -1,11 +1,8 @@ --- title: Jam Apple -draft: true +makes: 1.5L --- -# Makes 3 Jars -## notes - ## Ingredients - [ ] cored apple 1000g - [ ] water 150g @@ -29,4 +26,4 @@ draft: true - bring pot to a boil for 1 hour - remove cans from pot and let cool -#recipe/ingredient/jam #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient/jam #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Jam Raspberry Rhubarb.md b/recipes/Jam Raspberry Rhubarb.md index ee275f3..dd0845f 100644 --- a/recipes/Jam Raspberry Rhubarb.md +++ b/recipes/Jam Raspberry Rhubarb.md @@ -28,4 +28,4 @@ draft: true - bring pot to a boil for 1 hour - remove cans from pot and let cool -#recipe/ingredient/jam #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient/jam #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Jam Strawberry.md b/recipes/Jam Strawberry.md index 89c08ed..34e710d 100644 --- a/recipes/Jam Strawberry.md +++ b/recipes/Jam Strawberry.md @@ -27,4 +27,4 @@ draft: true - bring pot to a boil for 1 hour - remove cans from pot and let cool -#recipe/ingredient/jam #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient/jam #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Japanese Curry Soup.md b/recipes/Japanese Curry Soup.md index be9ae51..301b9d4 100644 --- a/recipes/Japanese Curry Soup.md +++ b/recipes/Japanese Curry Soup.md @@ -31,6 +31,6 @@ draft: true - add lions mane and cream to pot - simmer until carrots and potatoes are soft -#recipe/dinner/soup #diet/vegan/optional #diet/vegetarian +#recipe/dinner/soup #diet/plant-based/optional #diet/vegetarian [1^]: can use coconut cream \ No newline at end of file diff --git a/recipes/Kombucha - Raspberry Rhubarb.md b/recipes/Kombucha - Raspberry Rhubarb.md index 7b615b6..2069941 100644 --- a/recipes/Kombucha - Raspberry Rhubarb.md +++ b/recipes/Kombucha - Raspberry Rhubarb.md @@ -24,6 +24,6 @@ draft: true - let the bottled kombucha ferment for five days in a warm area - place the kombuchca in the fridge for an hour or two before serving -#recipe/drink #diet/vegan #diet/vegetarian +#recipe/drink #diet/plant-based #diet/vegetarian [1^]: a fine mesh strainer can also be used for this but takes longer to strain \ No newline at end of file diff --git a/recipes/Kombucha Calibrator.md b/recipes/Kombucha Calibrator.md index e822f35..c21ee3d 100644 --- a/recipes/Kombucha Calibrator.md +++ b/recipes/Kombucha Calibrator.md @@ -15,4 +15,4 @@ draft: true ## Steps - ??? -#recipe #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Kombucha Scoby.md b/recipes/Kombucha Scoby.md index 1e4dc5e..b51b4f2 100644 --- a/recipes/Kombucha Scoby.md +++ b/recipes/Kombucha Scoby.md @@ -26,7 +26,7 @@ draft: true - cover jars with coffee filter and strap down to mouth using jar band or rubber bands - let ferment for 6 to 14 days at a temperature between 23°C and 28°C tasting every day past day 4 until acid level is high enough [^3] -#recipe #diet/vegan #diet/vegetarian +#recipe #diet/plant-based #diet/vegetarian [1^]: can be substituted with store bought kombucha for first scoby [2^]: tap water works but is slower and has a higher chance of failure due to chlorine/fluoride in water diff --git a/recipes/Limoncello.md b/recipes/Limoncello.md index 2502033..52ada1d 100644 --- a/recipes/Limoncello.md +++ b/recipes/Limoncello.md @@ -21,4 +21,4 @@ draft: true - after a month remove lemon peals with a strainer keeping vodka - heat water and dissolve sugar then mix into the vodka -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Long Island Tea.md b/recipes/Long Island Tea.md index 36f4311..99114e8 100644 --- a/recipes/Long Island Tea.md +++ b/recipes/Long Island Tea.md @@ -18,4 +18,4 @@ draft: true - pour all ingredients over ice - stir -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/MaPo Tofu.md b/recipes/MaPo Tofu.md index 934a619..884419a 100644 --- a/recipes/MaPo Tofu.md +++ b/recipes/MaPo Tofu.md @@ -52,7 +52,7 @@ draft: true - add in green onion and cook for 30 seconds - remove from heat and add sichuan peppercorn powder and serve -#recipe/dinner #diet/vegan #diet/vegetarian +#recipe/dinner #diet/plant-based #diet/vegetarian [^1]: this is virgin rapeseed oil you can't buy this in america due to sinophobic food laws and white people thinking its toxic without evidence. You can use indian mustard seed oil, peanut oil, or canola oil in a pinch. Indian mustard seed oil is the closest followed by peanut oil. Canola oil is rape seed oil but taste different because of how it is processed so a more raw oil like indian mustard seed or peanut is better. diff --git a/recipes/Markarita.md b/recipes/Markarita.md index 1b13b62..4299fc5 100644 --- a/recipes/Markarita.md +++ b/recipes/Markarita.md @@ -15,4 +15,4 @@ draft: true - add ingredients to blender - blend and add more ice till at desired consistency -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Mochi.md b/recipes/Mochi.md index be5d649..eeee15c 100644 --- a/recipes/Mochi.md +++ b/recipes/Mochi.md @@ -1,6 +1,5 @@ --- title: "Mochi" -draft: true --- # Makes ~7 Balls ## Ingredients @@ -18,6 +17,6 @@ draft: true - roll dough sphere after adding to rice flower - refrigerate for 30 minutes (optional) -#recipe/dessert #diet/vegan/optional #diet/vegetarian +#recipe/dessert #diet/plant-based/optional #diet/vegetarian -[^1]: can use cow milk but rice milk works better \ No newline at end of file +[^1]: can use animal milk but rice milk works better \ No newline at end of file diff --git a/recipes/Moscow Mule.md b/recipes/Moscow Mule.md index 494e77d..921d438 100644 --- a/recipes/Moscow Mule.md +++ b/recipes/Moscow Mule.md @@ -14,4 +14,4 @@ draft: true ## Steps - add all ingredients to glass and stir before serving -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Mushroom Pasta Filling (rough draft).md b/recipes/Mushroom Pasta Filling (rough draft).md index 6cb705b..eda6128 100644 --- a/recipes/Mushroom Pasta Filling (rough draft).md +++ b/recipes/Mushroom Pasta Filling (rough draft).md @@ -28,4 +28,4 @@ draft: true - place mushroom fry into blender with parsley, time, and a bit of olive oil - blend mixture occasionally adding more olive oil until everything forms into a paste -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Oatmeal Chocolate Chip Cookies.md b/recipes/Oatmeal Chocolate Chip Cookies.md index 54bd8db..bcbc0eb 100644 --- a/recipes/Oatmeal Chocolate Chip Cookies.md +++ b/recipes/Oatmeal Chocolate Chip Cookies.md @@ -1,13 +1,9 @@ --- title: "Oatmeal Chocolate Chip Cookies" -draft: true +makes: 45 cookies --- -# Makes 45 cookies -### notes -- cook 10-11min -- each cookie should be ~42g ## Ingredients -- [ ] vegan butter 227g (16 tablespoons/1 brick/2 sticks) +- [ ] butter 227g (16 tablespoons/1 brick/2 sticks) - [ ] sugar 115g - [ ] brown sugar 225g - [ ] just egg 95g [^2] @@ -26,8 +22,10 @@ draft: true - beat in eggs milk and vanilla - incorporate flour, baking soda, and salt - add in oats and chocolate chips and stir +- roll into balls that weight ~42g +- bake for 10-11 minutes -#recipe/dessert/cookie #diet/vegan/optional #diet/vegetarian +#recipe/dessert/cookie #diet/plant-based/optional #diet/vegetarian [^1]: can use cow milk [^2]: can use 2 chicken eggs instead \ No newline at end of file diff --git a/recipes/Pancake Mix.md b/recipes/Pancake Mix.md index befb0c8..76f1932 100644 --- a/recipes/Pancake Mix.md +++ b/recipes/Pancake Mix.md @@ -17,4 +17,4 @@ draft: true ## Steps - whisk together in a bowl until all incorporated -#recipe/breakfast #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/breakfast #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Pancakes (rough draft).md b/recipes/Pancakes (rough draft).md index b9bc377..3241482 100644 --- a/recipes/Pancakes (rough draft).md +++ b/recipes/Pancakes (rough draft).md @@ -24,6 +24,6 @@ draft: true - Gently mix in milk water and canola oil until few lumps remain [^1] - Scope 1/3 cup of batter onto heated greased pan and cook until bubbles form and then flip -#recipe/breakfast #diet/vegan #diet/vegetarian +#recipe/breakfast #diet/plant-based #diet/vegetarian [1^]: Over mixing will cause baking powder to deactivate and gluten to over develop making pancakes to dense \ No newline at end of file diff --git a/recipes/Pizza Biga (rough draft).md b/recipes/Pizza Biga (rough draft).md index 61203ab..d548c03 100644 --- a/recipes/Pizza Biga (rough draft).md +++ b/recipes/Pizza Biga (rough draft).md @@ -14,4 +14,4 @@ draft: true - pour dough out onto a clean surface and kneed until smooth - let rest for 16-18 hours at 16-18°C in container covered with cling wrap with a small hole in it -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Pizza Dough (rough draft).md b/recipes/Pizza Dough (rough draft).md index 9584caa..6cbb076 100644 --- a/recipes/Pizza Dough (rough draft).md +++ b/recipes/Pizza Dough (rough draft).md @@ -20,7 +20,7 @@ draft: true - separate dough into 6 ~280g balls - rest for 1-2 hours at room temperature -#recipe/ingredient #diet/vegan/optional #diet/vegetarian +#recipe/ingredient #diet/plant-based/optional #diet/vegetarian [^1]: malt can be substituted for honey [^2]: may take longer diff --git a/recipes/Pizza Sauce.md b/recipes/Pizza Sauce.md index d3cca11..9d9056b 100644 --- a/recipes/Pizza Sauce.md +++ b/recipes/Pizza Sauce.md @@ -39,7 +39,7 @@ draft: true - remove lid - remove jars and allow to cool -#recipe/ingredient #diet/vegan/optional #diet/vegetarian +#recipe/ingredient #diet/plant-based/optional #diet/vegetarian [^1]: spice mix should be predominantly oregano diff --git a/recipes/Potato Fries (rough draft).md b/recipes/Potato Fries (rough draft).md index d2eef1d..ab67186 100644 --- a/recipes/Potato Fries (rough draft).md +++ b/recipes/Potato Fries (rough draft).md @@ -17,4 +17,4 @@ draft: true - freeze? - deep fry at 180°c 355 -#recipe/dinner/side #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/dinner/side #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Red pasta sauce (rough draft).md b/recipes/Red pasta sauce (rough draft).md index 83974a3..5dab8e5 100644 --- a/recipes/Red pasta sauce (rough draft).md +++ b/recipes/Red pasta sauce (rough draft).md @@ -23,4 +23,4 @@ draft: true ## Steps - cook that shit -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Revenge.md b/recipes/Revenge.md index 96da2e4..e5b61df 100644 --- a/recipes/Revenge.md +++ b/recipes/Revenge.md @@ -6,4 +6,4 @@ draft: true ## Notes - serve cold -#diet/vegan/optional #diet/vegetarian/optional \ No newline at end of file +#diet/plant-based/optional #diet/vegetarian/optional \ No newline at end of file diff --git a/recipes/Rhubarb Cosmopolitan.md b/recipes/Rhubarb Cosmopolitan.md index a894dc7..c34791b 100644 --- a/recipes/Rhubarb Cosmopolitan.md +++ b/recipes/Rhubarb Cosmopolitan.md @@ -19,4 +19,4 @@ draft: true - shake well - serve -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Rolled Pasta Dough.md b/recipes/Rolled Pasta Dough.md index 47a7b13..39f0ae6 100644 --- a/recipes/Rolled Pasta Dough.md +++ b/recipes/Rolled Pasta Dough.md @@ -25,4 +25,4 @@ draft: true [^1]: all purpose flour can be used instead but is much harder to form into a balls -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Sangria.md b/recipes/Sangria.md index 1cf4d26..2bf5877 100644 --- a/recipes/Sangria.md +++ b/recipes/Sangria.md @@ -17,6 +17,6 @@ draft: true ## Steps - ??? -#recipe/drink #diet/vegan #diet/vegetarian +#recipe/drink #diet/plant-based #diet/vegetarian [^1]: Some wines are not vegan \ No newline at end of file diff --git a/recipes/Seitan Ham Frankenrecipe.md b/recipes/Seitan Ham Frankenrecipe.md index cc5c02c..8ec9cb8 100644 --- a/recipes/Seitan Ham Frankenrecipe.md +++ b/recipes/Seitan Ham Frankenrecipe.md @@ -26,6 +26,6 @@ draft: true - wrap up the seitan dough in tin foil and steam it for like an hour? you can't really overcook it so better to go long - keep in freezer until it tastes bad -#recipe #diet/vegan #diet/vegetarian +#recipe #diet/plant-based #diet/vegetarian [x^]: \ No newline at end of file diff --git a/recipes/Soffritto.md b/recipes/Soffritto.md index 34031a9..800a37b 100644 --- a/recipes/Soffritto.md +++ b/recipes/Soffritto.md @@ -40,4 +40,4 @@ draft: true [^1]: if using sauce reduce again -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Spaghetti All'Assassina.md b/recipes/Spaghetti All'Assassina.md index 26678ca..d96c660 100644 --- a/recipes/Spaghetti All'Assassina.md +++ b/recipes/Spaghetti All'Assassina.md @@ -41,4 +41,4 @@ draft: true - repeat charring process until desired crispy level is achieved - season with salt and pepper to taste -#recipe/dinner #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/dinner #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Steamed Rice.md b/recipes/Steamed Rice.md index f61e782..7c9e05f 100644 --- a/recipes/Steamed Rice.md +++ b/recipes/Steamed Rice.md @@ -22,4 +22,4 @@ draft: true - fill a pan with around 4-6 cm of water and bring to a boil - place steamer in boiling water and let rice steam for 15 minutes -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Stock.md b/recipes/Stock.md index d23022e..f426221 100644 --- a/recipes/Stock.md +++ b/recipes/Stock.md @@ -38,6 +38,6 @@ draft: true - remove lid - remove jars and allow to cool -#recipe/ingredient #diet/vegan/optional +#recipe/ingredient #diet/plant-based/optional [^1]: Optional \ No newline at end of file diff --git a/recipes/Stuffing.md b/recipes/Stuffing.md index cb770bc..2854b08 100644 --- a/recipes/Stuffing.md +++ b/recipes/Stuffing.md @@ -41,4 +41,4 @@ draft: true - transfer mix to baking dish - put in oven for hour at 190°C (375°F) for hour -#recipe/dinner/side #diet/vegan/optional #diet/vegetarian \ No newline at end of file +#recipe/dinner/side #diet/plant-based/optional #diet/vegetarian \ No newline at end of file diff --git a/recipes/Sushi Rice.md b/recipes/Sushi Rice.md index 9d3bb36..a809a70 100644 --- a/recipes/Sushi Rice.md +++ b/recipes/Sushi Rice.md @@ -1,30 +1,27 @@ --- title: "Sushi Rice" -draft: true --- -# Makes 6 medium rolls 6⅔ cups, 990 g -### notes -- https://www.justonecookbook.com/how-to-make-sushi-rice/ -- Can use medium grain rice too ## Ingredients -- [ ] **Uncooked Japanese short-grain white rice** 450g or 2.25 cups -- [ ] **Water** 540ml or 2¼ cups -- [ ] **Seasoned** **Rice Vinegar** 80ml or 1/3 cup -- [ ] **Kombu** (optional) +- [ ] Japanese short-grain white rice 450g (2.25 cups)[^1] +- [ ] Water 540ml (2.25 cups) +- [ ] Rice Vinegar 80ml (1/3 cup) +- [ ] Kombu (optional) ## Tools - Heavy Bottomed pan with lid - Bowl ## Steps - Soak rice for 20-30 minutes - Rinse the rice until the water is almost clear -- Put well drained rice and water in the pan -- Cover the pot with the lid and bring it to a boil over **medium heat** +- Put well drained rice and water in the pot +- Cover the pot with the lid and bring it to a boil over medium heat - Check if the water is boiling, close the lid. - (Optional) add Kombu algae in the pot -- Once the water is boiling, **turn the heat to low** -- Cook, covered, for **12–13 minutes,** or until the water is completely absorbed. -- Remove from the heat and let it steam **with the lid on** for another **10 minutes** +- Once the water is boiling, turn the heat to low +- Cook, covered, for 12–13 minutes, or until the water is completely absorbed. +- Remove from the heat and let it steam with the lid on for another 10 minutes - Transfer the rice to a bowl, add the rice vinegar and gently incorporate it into the rice - Cover the bowl with a wet towel/lid until you use it -#recipe/staple #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/staple #diet/plant-based #diet/vegetarian + +[^1]: Can use medium grain rice in a pinch \ No newline at end of file diff --git a/recipes/Sweet Corn.md b/recipes/Sweet Corn.md index acded0e..3c3f452 100644 --- a/recipes/Sweet Corn.md +++ b/recipes/Sweet Corn.md @@ -1,17 +1,13 @@ --- title: "Sweet Corn" -draft: true --- -# Makes X ??? -### notes -- ??? ## Ingredients - [ ] corn - [ ] sugar - [ ] salt - [ ] lemon/lime juice half a fruit -## Tools -- ??? +## Tools +- pot ## Steps - boil water - add salt lime and sugar to water @@ -19,6 +15,4 @@ draft: true - turn heat to low and add corn to boiling water and cover - boil corn for 8 min -#recipe #diet/vegetarian - -[x^]: \ No newline at end of file +#recipe #diet/plant-based #diet/vegetarian diff --git a/recipes/Tequila Sunrise.md b/recipes/Tequila Sunrise.md index 57cc861..c221dd7 100644 --- a/recipes/Tequila Sunrise.md +++ b/recipes/Tequila Sunrise.md @@ -17,4 +17,4 @@ draft: true - pour tequila and orange juice into the glass - add grenadine and gently stir -#recipe/drink/alcohol #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/drink/alcohol #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Thai Red Curry.md b/recipes/Thai Red Curry.md index 655afee..4023b8c 100644 --- a/recipes/Thai Red Curry.md +++ b/recipes/Thai Red Curry.md @@ -50,7 +50,7 @@ draft: true - serve over rice, noodles, or eat plain - share with friends -#recipe/dinner #diet/vegan/optional #diet/vegetarian +#recipe/dinner #diet/plant-based/optional #diet/vegetarian [^1]: adjust amount based on spice preference and brand strength [^2]: not traditional but adds good flavor \ No newline at end of file diff --git a/recipes/Tikka Masala Gravy.md b/recipes/Tikka Masala Gravy.md index 3b8ba31..3440166 100644 --- a/recipes/Tikka Masala Gravy.md +++ b/recipes/Tikka Masala Gravy.md @@ -38,4 +38,4 @@ draft: true - add 3/4th cup of water to pot and reduce until the gravy thickens - garnish with fenugreek -#recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Tofu scramble.md b/recipes/Tofu scramble.md index 224f25b..3e9e315 100644 --- a/recipes/Tofu scramble.md +++ b/recipes/Tofu scramble.md @@ -28,4 +28,4 @@ draft: true - mix add nutritional yeast powder - pour in just eggs and add spice and stir until cooked to your liking -#recipe/ingredient #recipe/breakfast #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/ingredient #recipe/breakfast #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/Tortellini.md b/recipes/Tortellini.md index 1763ccf..ff05afe 100644 --- a/recipes/Tortellini.md +++ b/recipes/Tortellini.md @@ -22,6 +22,6 @@ draft: true - strain out each tortellini when they float - serve -#recipe/dinner #diet/vegan #diet/vegetarian +#recipe/dinner #diet/plant-based #diet/vegetarian [^1]: instead of boiling the tortellini right away, you can freeze them for later \ No newline at end of file diff --git a/recipes/Turkey Seitan.md b/recipes/Turkey Seitan.md index 946e69c..8737312 100644 --- a/recipes/Turkey Seitan.md +++ b/recipes/Turkey Seitan.md @@ -29,4 +29,4 @@ draft: true - steam for an hour or until internal temperature reaches 71°C - cool overnight in fridge -#recipe/lunch #recipe/ingredient #diet/vegan #diet/vegetarian \ No newline at end of file +#recipe/lunch #recipe/ingredient #diet/plant-based #diet/vegetarian \ No newline at end of file diff --git a/recipes/recipes.11tydata.js b/recipes/recipes.11tydata.js index d9a6e3a..f85d0b1 100644 --- a/recipes/recipes.11tydata.js +++ b/recipes/recipes.11tydata.js @@ -3,6 +3,44 @@ const path = require("path"); const { execSync } = require("child_process"); const { DateTime } = require("luxon"); +const extractDietTags = (filePath) => { + try { + const content = fs.readFileSync(filePath, 'utf-8'); + const dietTagRegex = /#diet\/(omnivore|vegetarian|plant-based)(?:\/optional)?/g; + const matches = content.match(dietTagRegex) || []; + return matches.map(tag => { + const match = tag.match(/#diet\/(omnivore|vegetarian|plant-based)/); + return match ? match[1] : null; + }).filter(Boolean); + } catch (e) { + return []; + } +} + +const getPlantBased = (filePath) => { + const dietTags = extractDietTags(filePath); + + if (dietTags.length === 0) { + return null; + } + + const hasOmnivore = dietTags.includes('omnivore'); + const hasVegetarian = dietTags.includes('vegetarian'); + const hasPlantBased = dietTags.includes('plant-based'); + + if (hasPlantBased) { + return true; + } + + // If has omnivore OR vegetarian without plant-based, it's not plant-based + if (hasOmnivore || hasVegetarian) { + return false; + } + + // No recognized diet tags + return null; +} + const getSlugFromPath = (filePath) => { // Normalize the path - remove leading ./ if present const normalizedPath = filePath.startsWith('./') ? filePath.slice(2) : filePath; @@ -161,6 +199,9 @@ module.exports = { isDraft: (data) => { return data.draft === true; }, + plantBased: (data) => { + return getPlantBased(data.page.inputPath); + }, createdAt: (data) => { return getFileCreatedDateTime(data.page.inputPath); },