Recipes template now extends Menu template for reduced duplication
This commit is contained in:
parent
48638e65cb
commit
0c1e3e5c3b
32
recipes.html
32
recipes.html
@ -24,10 +24,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Stir with ice. Strain into rocks glass over large cube.
|
|
||||||
1. Garnish with orange twist.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -47,10 +43,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Stir with ice. Strain into rocks glass over large cube.
|
|
||||||
1. Garnish with orange twist.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -74,10 +66,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Stir with ice. Strain into chilled coupe.
|
|
||||||
1. Garnish with orange twist.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -101,10 +89,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Stir with ice. Strain into rocks glass over large cube.
|
|
||||||
1. Garnish with orange twist.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -124,9 +108,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Shake with ice. Double strain into chilled coupe.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -142,11 +123,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Pour gin and tonic over ice in short glass.
|
|
||||||
1. Stir gently.
|
|
||||||
1. Garnish with lime wheel.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -166,10 +142,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Shake with ice.
|
|
||||||
1. Double strain into chilled coupe.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -193,10 +165,6 @@
|
|||||||
|
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<h3>Directions!</h3>
|
|
||||||
1. Shake with ice.
|
|
||||||
1. Double strain into chilled coupe.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for ingredient in details['ingredients'] %}
|
{% for ingredient in details['ingredients'] %}
|
||||||
{% for name, amount in ingredient.items() %}
|
{% for name, amount in ingredient.items() %}
|
||||||
<li>{{ name }}</li>
|
<li>{% block amount scoped %}{% endblock %}{{ name }}</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@ -1,18 +1,2 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "menu.html" %}
|
||||||
{% block title %}Cocktail Menu{% endblock %}
|
{% block amount %}{{ amount }} {% endblock %}
|
||||||
{% block content %}
|
|
||||||
{% for bev in bevs %}
|
|
||||||
{% for name, details in bev.items() %}
|
|
||||||
<h2>{{ name }}</h2>
|
|
||||||
<ul>
|
|
||||||
{% for ingredient in details['ingredients'] %}
|
|
||||||
{% for name, amount in ingredient.items() %}
|
|
||||||
<li>{{ amount }} {{ name }}</li>
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
</ul>
|
|
||||||
<h3>Directions!</h3>
|
|
||||||
{{ details['directions'] }}
|
|
||||||
{% endfor %}
|
|
||||||
{% endfor %}
|
|
||||||
{% endblock %}
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user