File size: 2,113 Bytes
96f6720
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!DOCTYPE html>
<html>
<head>
    <style>
        body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
            margin: 0;
            padding: 20px;
        }

        h1 {
            color: #333;
            font-size: 2.5em;
            margin-bottom: 1em;
            text-align: center;
        }

        h2 {
            color: #555;
            font-size: 1.8em;
            margin-top: 0.5em;
            margin-bottom: 1em;
        }

        h3 {
            color: #666;
            font-size: 1.2em;
            margin-bottom: 0.5em;
        }

        ul, ol {
            padding-left: 30px;
        }

        li {
            margin-bottom: 0.5em;
        }

        p {
            margin-bottom: 1em;
        }

        strong {
            font-weight: bold;
        }

        a {
            color: #007bff; /* Blue link color */
            text-decoration: none;
        }

        a:hover {
            text-decoration: underline;
        }

        .recipe-container {
            border: 1px solid #ddd;
            padding: 20px;
            margin-bottom: 2em;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            border-radius: 5px;
        }
    </style>
</head>
<body>
    <div class="recipe-container">
        <h2>{{ recipe.name }}</h2>
        <p><strong>Meal suggestion:</strong> {{ recipe.meal_type }}</p>
        <h3>Ingredients:</h3>
        <ul>
            {% for ingredient in recipe.ingredients %}
            <li>{{ ingredient }}</li>
            {% endfor %}
        </ul>
        <h3>Instructions:</h3>
        <ol>
            {% for instruction in recipe.instructions %}
            <li>{{ instruction }}</li>
            {% endfor %}
        </ol>
        {% if recipe.serves %}
        <p><strong>Serves:</strong> {{ recipe.serves }}</p>
        {% endif %}
        {% if recipe.notes %}
        <p><strong>Notes:</strong> {{ recipe.notes }}</p>
        {% endif %}
        {% if recipe.disclaimer %}
        <p><strong>Disclaimer:</strong> {{ recipe.disclaimer }}</p>
        {% endif %}
    </div>
</body>
</html>