X-Git-Url: http://git.euphorik.ch/?p=recipes.git;a=blobdiff_plain;f=backend%2Ftemplates%2Fview_recipe.html;fp=backend%2Ftemplates%2Fview_recipe.html;h=1a5ba523a2f9cbcce2c91e0502e992db220b7011;hp=e355c52e359b33997fe2fa24e40bc54fe1ec6b94;hb=b6235fb76ce82f96503cda83eebe8106320b2a0d;hpb=45d4867cb37ce8d7007c4d98de70d81d0b705b92 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