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

@ -57,6 +57,12 @@ description: Welcome to my website! I write about tech, politics, food, and hobb
{% if recipe.data.newest.data.description %}
<p>{{ recipe.data.newest.data.description }}</p>
{% endif %}
{% if recipe.data.newest.data.amount %}
<p class="recipe-amount">Amount: {{ recipe.data.newest.data.amount }}</p>
{% endif %}
{% if recipe.data.newest.data.cookingTime %}
<p class="recipe-cooking-time">Cooking Time: {{ recipe.data.newest.data.cookingTime }}</p>
{% endif %}
</a>
</li>
{% endif %}