X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;ds=sidebyside;f=backend%2Ftemplates%2Fview_recipe.html;h=1a5ba523a2f9cbcce2c91e0502e992db220b7011;hb=cbe276fc0601041b13087a6ffd80c5b126dfbe59;hp=e355c52e359b33997fe2fa24e40bc54fe1ec6b94;hpb=e2e54b8f43015738af860b005825dc809f5275ab;p=recipes.git diff --git a/backend/templates/view_recipe.html b/backend/templates/view_recipe.html index e355c52..1a5ba52 100644 --- a/backend/templates/view_recipe.html +++ b/backend/templates/view_recipe.html @@ -2,6 +2,14 @@ {% block content %} -{{ current_recipe.title }} +

{{ current_recipe.title }}

+ +{% match current_recipe.description %} + {% when Some with (description) %} +
+ {{ description|markdown }} +
+ {% when None %} +{% endmatch %} {% endblock %} \ No newline at end of file