-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
53 lines (48 loc) · 1.06 KB
/
home.html
File metadata and controls
53 lines (48 loc) · 1.06 KB
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
<html>
<head>
<!-- If there is a title, then execute that title,
if not, then do the default -->
{% if title %}
<title> {{title}} </title>
{% else %}
<title>Home Page - Air Line</title>
{% endif %}
</head>
<body>
<h1>Welcome to PetJett!</h1>
<!-- guidelines page -->
<a href="/guidelines"><button>FAQs and Guidelines</button></a>
<table>
<tr>
<th>Company</th>
<th>Contact</th>
<th>Locations</th>
</tr>
<tr>
<td>{{company}}</td>
<td>Maria Anders</td>
<td>New York</td>
</tr>
<tr>
<td></td>
<td></td>
<td>Los Angeles</td>
</tr>
<tr>
<td></td>
<td></td>
<td>San Francisco</td>
</tr>
</table>
<ul>
<!-- List all the names in a for loop, for the number of names-->
{% for n in names %}
<!-- li is for a new line in a list-->
<li>{{n}}</li>
{% endfor %}
</ul>
{% for n in breeds %}
<p>{{n.breed}}:{{n.body}}</p>
{% endfor %}
</body>
</html>