From 0091e47588f37ec7fb2ab514a3313830bf1d592d Mon Sep 17 00:00:00 2001 From: Leyla Becker Date: Sun, 22 Feb 2026 11:29:23 -0600 Subject: [PATCH] feat: updated recipe cards --- index.njk | 12 +++++++----- recipes-index.njk | 12 +++++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/index.njk b/index.njk index ddfc485..0e2190d 100644 --- a/index.njk +++ b/index.njk @@ -55,15 +55,17 @@ description: Welcome to my website! I write about tech, politics, food, and hobb
  • {{ recipe.data.newest.data.title }}

    - {% if recipe.data.newest.data.description %}

    {{ recipe.data.newest.data.description }}

    {% endif %} - {% if recipe.data.newest.data.amount %} -

    Amount: {{ recipe.data.newest.data.amount }}

    + {% if recipe.data.newest.data.plantBased %} +

    Vegan

    {% endif %} - {% if recipe.data.newest.data.cookingTime %} -

    Cooking Time: {{ recipe.data.newest.data.cookingTime }}

    + {% if recipe.data.newest.data.makes %} +

    Makes: {{ recipe.data.newest.data.makes }}

    + {% endif %} + {% if recipe.data.newest.data.prepTime %} +

    Prep Time: {{ recipe.data.newest.data.prepTime }}

    {% endif %}
  • diff --git a/recipes-index.njk b/recipes-index.njk index 00d3291..7ecec35 100644 --- a/recipes-index.njk +++ b/recipes-index.njk @@ -21,15 +21,17 @@ permalink: /recipes/
  • {{ recipeData.newest.data.title }}

    - {% if recipeData.newest.data.description %}

    {{ recipeData.newest.data.description }}

    {% endif %} - {% if recipeData.newest.data.amount %} -

    Amount: {{ recipeData.newest.data.amount }}

    + {% if recipeData.newest.data.plantBased %} +

    Vegan

    {% endif %} - {% if recipeData.newest.data.cookingTime %} -

    Cooking Time: {{ recipeData.newest.data.cookingTime }}

    + {% if recipeData.newest.data.makes %} +

    Makes: {{ recipeData.newest.data.makes }}

    + {% endif %} + {% if recipeData.newest.data.prepTime %} +

    Prep Time: {{ recipeData.newest.data.prepTime }}

    {% endif %}