-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrecipes.jade
73 lines (71 loc) · 2.05 KB
/
recipes.jade
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
h1 Recipes
each recipe in recipes
div.well
h3 #{recipe.name}
each brewer in recipe.brewers
img(src="/img/#{brewer}_tiny.png")
input(type="hidden", value="#{recipe._id}")
p
span.text Style:
span #{recipe.style}
- if (recipe.abv)
p
span.text ABV:
span #{recipe.abv}%
- if (recipe.desc)
p
span.text Description:
span #{recipe.desc}
p
span.text Brew date:
span #{recipe.brew_date}
p
span.text Grain Bill
ul
each grain in recipe.grain_bill
li #{grain}
- if (recipe.other_ingredients)
p
span.text Other Ingredients
ul
each ingredient in recipe.other_ingredients
li #{ingredient}
p
span.text Hop Bill
ul
- if (recipe.hops.bitter)
li Bitter: #{recipe.hops.bitter}
- if (recipe.hops.flavor)
li Flavor: #{recipe.hops.flavor}
- if (recipe.hops.aroma)
li Aroma: #{recipe.hops.aroma}
- if (recipe.hops.dry)
li Dry: #{recipe.hops.dry}
p
span.text Yeast:
span #{recipe.yeast}
- if (recipe.yeast_starter)
p
span.text Starter size:
span #{recipe.yeast_starter}
p
span.text Boil time:
span #{recipe.boil_time}
p
span.text Mash temperature:
span #{recipe.mash_temp}
p
span.text OG:
span #{recipe.OG}
p
span.text FG:
span #{recipe.FG}
- if (recipe.untappd)
p
a(href="#{recipe.untappd}", target="_blank") See more info and ratings on Untappd
<script>
$(function() {
$('ul.nav li').removeClass("active");
$('li#recipe_link').addClass("active");
});
</script>