feat: added amount and cooking time to recipes

This commit is contained in:
Leyla Becker 2026-02-12 21:19:15 -06:00
parent 8705f8cdee
commit 623893002c
3 changed files with 18 additions and 0 deletions

View file

@ -24,6 +24,12 @@ permalink: /recipes/
{% if recipeData.newest.data.description %}
<p>{{ recipeData.newest.data.description }}</p>
{% endif %}
{% if recipeData.newest.data.amount %}
<p class="recipe-amount">Amount: {{ recipeData.newest.data.amount }}</p>
{% endif %}
{% if recipeData.newest.data.cookingTime %}
<p class="recipe-cooking-time">Cooking Time: {{ recipeData.newest.data.cookingTime }}</p>
{% endif %}
</a>
</li>
{% endif %}