summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2022-11-20 08:53:01 +0100
committerPatrick Spek <p.spek@tyil.nl>2022-11-20 08:53:01 +0100
commit8cc5fa4ddb7e6cab8fcc53c1956d26a7d41fd264 (patch)
treef6f0e41afdf3143754bcb56e3d1b4794daac9a87
parent34527f939f43466e441996bb4aada95e3417d394 (diff)
Update cooking recipe layout to add notes to each stage
-rw-r--r--layouts/recipes/single.html3
1 files changed, 3 insertions, 0 deletions
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 @@
<h2>Instructions</h2>
{{- range $i, $stage := .Params.stages }}
<h3>{{ $stage.label }}</h3>
+ {{- if $stage.notes }}
+ <p>{{ .notes }}</p>
+ {{- end }}
<ol>
{{- range $j, $step := $stage.steps }}
<li>