projects
/
recipes.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sign out
[recipes.git]
/
backend
/
templates
/
view_recipe.html
diff --git
a/backend/templates/view_recipe.html
b/backend/templates/view_recipe.html
index
e355c52
..
1a5ba52
100644
(file)
--- a/
backend/templates/view_recipe.html
+++ b/
backend/templates/view_recipe.html
@@
-2,6
+2,14
@@
{% block content %}
{% block content %}
-{{ current_recipe.title }}
+<h2 class="recipe-title" >{{ current_recipe.title }}</h2>
+
+{% match current_recipe.description %}
+ {% when Some with (description) %}
+ <div class="recipe-description" >
+ {{ description|markdown }}
+ </div>
+ {% when None %}
+{% endmatch %}
{% endblock %}
\ No newline at end of file
{% endblock %}
\ No newline at end of file