aboutsummaryrefslogtreecommitdiff
path: root/templates/pages/single-recipe.html
diff options
context:
space:
mode:
authorJJ <nicetry@noemail.com>2025-03-31 21:08:41 +0100
committerJJ <nicetry@noemail.com>2025-03-31 21:08:41 +0100
commit2e0b9c97af457da5c6afda611d48e59047d4cdb8 (patch)
tree199d10037f790bcade2ac86f478c10da77bbc771 /templates/pages/single-recipe.html
parent17529f38f4b4edf7249e18418ddfcc3f818a006d (diff)
Basic AI functionality
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 %}