summaryrefslogtreecommitdiff
path: root/data/templates/recipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/recipe.html')
-rw-r--r--data/templates/recipe.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/templates/recipe.html b/data/templates/recipe.html
index a91f025..2b387c0 100644
--- a/data/templates/recipe.html
+++ b/data/templates/recipe.html
@@ -17,7 +17,9 @@
<main>
<p>This recipe is written for {{.Recipe.Portions}} portions.</p>
- <p><a href="{{.Recipe.Url}}">Link</a></p>
+ {{if ne .Recipe.Url ""}}
+ <p>Use this <a href="{{.Recipe.Url}}">link</a> to go to the original recipe.</p>
+ {{end}}
{{range .Recipe.Steps}}
<section>