From 17f2abc3961fb854fb127f6b99c30ebb494b8e3d Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 22 Apr 2023 17:40:02 +0200 Subject: Implement basic recipe target with JSON --- data/templates/recipe.html | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'data/templates') diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 348a44d..7bbb660 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -11,11 +11,26 @@ HOME add recipe -

{{.Title}}

+

{{.Recipe.Title}}

- {{.Html}} +

This recipe is written for {{.Recipe.Portions}} portions.

+ +

Link

+ +
+ + {{range .Recipe.Steps}} +

{{.Text}}

+ +
+ {{end}} + {{ template "footer.html" }} -- cgit v1.2.3-70-g09d2