From 8cc5fa4ddb7e6cab8fcc53c1956d26a7d41fd264 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Sun, 20 Nov 2022 08:53:01 +0100
Subject: Update cooking recipe layout to add notes to each stage
---
layouts/recipes/single.html | 3 +++
1 file changed, 3 insertions(+)
(limited to 'layouts/recipes/single.html')
diff --git a/layouts/recipes/single.html b/layouts/recipes/single.html
index 7919970..8362b88 100644
--- a/layouts/recipes/single.html
+++ b/layouts/recipes/single.html
@@ -81,6 +81,9 @@
Instructions
{{- range $i, $stage := .Params.stages }}
{{ $stage.label }}
+ {{- if $stage.notes }}
+ {{ .notes }}
+ {{- end }}
{{- range $j, $step := $stage.steps }}
-
--
cgit v1.1