aboutsummaryrefslogtreecommitdiff
path: root/templates/pages/single-recipe.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/pages/single-recipe.html')
-rw-r--r--templates/pages/single-recipe.html14
1 files changed, 11 insertions, 3 deletions
diff --git a/templates/pages/single-recipe.html b/templates/pages/single-recipe.html
index d8c334d..ec2b4dd 100644
--- a/templates/pages/single-recipe.html
+++ b/templates/pages/single-recipe.html
@@ -1,12 +1,20 @@
-{% extends "base.html" %} {% block heading %} {{ single_recipe.title }} {%
+{% extends "base.html" %}
+
+{% block scripts %}
+
+<script src={{ url_for("static", filename="scripts/index.js") }} defer></script>
+
+{% endblock %}
+
+{% block heading %} {{ single_recipe.title }} {%
endblock %} {% block content %}
<article>
<figure>
<img src="{{ single_recipe.image }}" alt="{{ single_recipe.title }}" />
<figcaption><a href="{{ single_recipe.url }}">Source</a></figcaption>
</figure>
- <h2>Ingredients</h2>
- <ul>
+ <h2 class="inline-block">Ingredients<span id="copy-ingredients" class="cursor">📋</span></h2>
+ <ul id="ingredients">
{% for ingredient in single_recipe.ingredients %}
<li>{{ ingredient }}</li>
{% endfor %}