From 60b7cf6456a40fef76ca2aecc4dd79956a22b410 Mon Sep 17 00:00:00 2001 From: xengineering Date: Mon, 1 May 2023 19:20:43 +0200 Subject: Implement ingredient summary --- data/templates/recipe.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/data/templates/recipe.html b/data/templates/recipe.html index 2b387c0..f95ace6 100644 --- a/data/templates/recipe.html +++ b/data/templates/recipe.html @@ -15,7 +15,13 @@
-

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

+

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

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

Use this link to go to the original recipe.

-- cgit v1.2.3-70-g09d2