diff options
Diffstat (limited to 'view/html/recipe.html')
-rw-r--r-- | view/html/recipe.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/view/html/recipe.html b/view/html/recipe.html index 4d0eb99..fea32a5 100644 --- a/view/html/recipe.html +++ b/view/html/recipe.html @@ -14,7 +14,10 @@ </p>{{ if ne .Portions "" }} <p><i>Portions:</i> {{.Portions}}</p>{{end}}{{ if ne .Url "" }} <p><i>Original recipe:</i> <a href="{{.Url}}">link</a></p>{{end}}{{ if ne .Notes "" }} - <p class="notice" style="white-space: pre-line;">{{.Notes}}</p>{{end}} + <p class="notice" style="white-space: pre-line;">{{.Notes}}</p>{{end}}{{range .Steps}} + <section> + <p>{{.Text}}</p> + </section>{{end}} </main> {{ template "footer" }} <script src="/static/view/static/ceres.js"></script> |