diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/templates/recipe.html | 4 |
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> |