From ea54de7d32e6b576ccfb430e7e57811b7c4587fe Mon Sep 17 00:00:00 2001 From: xengineering Date: Sun, 17 Sep 2023 11:07:08 +0200 Subject: Remove complete implementation Restarting from scratch seems to be the fastest approach to switch to sqlite and get rid of some other structural mistakes from the past. --- data/templates/recipe.html | 43 ------------------------------------------- 1 file changed, 43 deletions(-) delete mode 100644 data/templates/recipe.html (limited to 'data/templates/recipe.html') diff --git a/data/templates/recipe.html b/data/templates/recipe.html deleted file mode 100644 index f95ace6..0000000 --- a/data/templates/recipe.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - {{ template "head.html" }} - - - -
- -

{{.Recipe.Title}}

-
- -
-

For {{.Recipe.Portions}} portions you will need these ingredients:

- - - - {{if ne .Recipe.Url ""}} -

Use this link to go to the original recipe.

- {{end}} - - {{range .Recipe.Steps}} -
-

{{.Text}}

-

{{range $i, $el := .Ingredients}}{{if $i}}, {{end}}{{if ne $el.Amount 0.0}}{{$el.Amount}} {{end}}{{if ne $el.Unit ""}}{{$el.Unit}} {{end}}{{$el.Type}}{{end}}

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