From d518beb637e7c2776d84e87c63cc201c101ca89c Mon Sep 17 00:00:00 2001 From: JJ Date: Sun, 30 Mar 2025 20:56:01 +0100 Subject: styling, sub instructions --- templates/pages/single-recipe.html | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'templates/pages/single-recipe.html') diff --git a/templates/pages/single-recipe.html b/templates/pages/single-recipe.html index 35c03c0..d8c334d 100644 --- a/templates/pages/single-recipe.html +++ b/templates/pages/single-recipe.html @@ -12,11 +12,23 @@ endblock %} {% block content %} {% endfor %}

Instructions

+ {% if single_recipe.has_subsections %} + {% for instruction in single_recipe.instructions %} +

{{ instruction.n }}

+ + {% endfor %} + {% else %} + {% endif %} +