-
Notifications
You must be signed in to change notification settings - Fork 0
/
pricing.html
51 lines (49 loc) · 1.71 KB
/
pricing.html
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
---
navname: pricing
---
<div class="jumbotron">
<div class="container">
<h1 class="text-center">See which plan is right for you.</h1>
</div>
</div>
<div id="pricing" class="container">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8">
<table id="pricing" class="table table-striped">
<thead>
<tr>
<th class="text-center">Feature</th>
<th class="text-center">Sunny<br>Free</th>
<th class="text-center">Mostly Sunny<br>$10/Mo</th>
<th class="text-center">Overcast <br>$20/M0</th>
<th class="text-center">Storm <br>$30/Mo</th>
</tr>
</thead>
<tbody>
{% for feature in site.data.features %}
{% comment %}For each feature that we offer (it's an object with a string and an array)...{% endcomment %}
<tr>
<td>
{{ feature.name }}
</td>
{% for plan in feature.plans %}
<td class="text-center">
{% if plan == true %}
{% comment %}If the plan is explicitly set to true, show a check-mark.{% endcomment %}
<span class="glyphicon glyphicon-ok"></span>
{% elsif plan %}
{% comment %}Else if the plan is set to anything else that's truthy (e.g. a non-empty string), print it.{% endcomment %}
{{ plan }}
{% endif %}
{% comment %}Otherwise, print nothing.{% endcomment %}
</td>
{% endfor %}
</tr>
{% endfor %}
</tbody>
</table>
</div>
<div class="col-md-2"></div>
</div>
</div>