-
Notifications
You must be signed in to change notification settings - Fork 0
/
menus.handlebars
50 lines (45 loc) · 1.36 KB
/
menus.handlebars
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Munch email</title>
<link rel="stylesheet" type="text/css" href="./main.css">
</head>
<body>
<p id="title">{{day_name}}, {{month}} {{date}} at Mines Market</p>
<div id="menu">
{{!-- The following section does not work well for email - requires web browser features --}}
{{!-- <table id="shortcuts">
<tr>
<th class="anchor"><a href="#BREAKFAST">Breakfast menu</a></th>
<th class="anchor"><a href="#LUNCH">Lunch menu</a></th>
<th class="anchor"><a href="#DINNER">Dinner menu</a></th>
</tr>
</table> --}}
{{#each menu}}
<h1 id={{@key}} class="meal_title">{{@key}}</h1>
{{#each this}}
<h2 class="diner_name">{{@key}}</h2>
<table class="menu_table">
<tr>
<th colspan="2">
<hr>
</th>
</tr>
{{#each this}}
<tr>
<th>{{this.name}}</th>
<th class="cal">{{this.calories}} calories</th>
</tr>
<tr>
<th colspan="2">{{this.description}}
<hr>
</th>
</tr>
{{/each}}
</table>
{{/each}}
{{/each}}
</ul>
</body>
</html>