diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-11-20 08:53:01 +0100 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-11-20 08:53:01 +0100 |
commit | 8cc5fa4ddb7e6cab8fcc53c1956d26a7d41fd264 (patch) | |
tree | f6f0e41afdf3143754bcb56e3d1b4794daac9a87 /layouts/recipes | |
parent | 34527f939f43466e441996bb4aada95e3417d394 (diff) |
Update cooking recipe layout to add notes to each stage
Diffstat (limited to 'layouts/recipes')
-rw-r--r-- | layouts/recipes/single.html | 3 |
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> |