add a markdown source field to recipe

This commit is contained in:
Emi Vasilek 2023-11-21 03:12:41 +01:00
parent cb541423c7
commit 247fd37560
4 changed files with 41 additions and 1 deletions

View file

@ -17,6 +17,7 @@
{{getrecipe(subrecipe)}}
{% endfor %}
<h1>{{rec.title}}</h1>
{% if rec.source != None %}source: {{rec.source.html|safe}}{%endif%}
{% if rec.ingredients|length != 0 %}
<h3>Ingredients</h3>
{% for ing in rec.ingredients %}