From 01c731609fefbf3c6772c12ca6ed2a0d08a6eafa Mon Sep 17 00:00:00 2001 From: venus Date: Sat, 1 Aug 2026 12:37:18 -0500 Subject: [PATCH] updated homepage with dynamic tiling --- src/index.md | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/src/index.md b/src/index.md index a75e2ee..09d1b19 100644 --- a/src/index.md +++ b/src/index.md @@ -6,14 +6,35 @@ title: Homepage An index of family recipes collected over generations. +
+ Sort by: + + +
+
-{% for recipe in collections.recipe %} -
+{% for recipe in collections.recipe | sort(attribute="data.title") %} +

{{ recipe.data.title }}

- {% if recipe.data.author %} -

From the kitchen of: {{ recipe.data.author }}

- {% endif %} +

From the kitchen of: {{ recipe.data.author | default: 'Unknown Author' }}

{% endfor %}
+ + + +