forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbulb.html
21 lines (21 loc) · 804 Bytes
/
bulb.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
layout: default
title: Light Bulbs
navigation: 20
---
<!-- ###################################################################### -->
{% assign category = site.templates | where: "category", "bulb" %}
{% assign type_group = category | group_by: 'type' %}
{% assign type_grouped = type_group | sort: "name" %}
{% for group in type_grouped %}
<BR>
<h3>{{ group.name | replace: "RGBCCT", "RGB + Color Temperature" | replace: "WW", "Dimmable Warm White" | replace: "CW", "Dimmable Cool White" | replace: "CCT", "Color Temperature" }}</h3>
<table id="{{ group.name }}" width="80%">
<tbody>
{% assign grouptitlesorted = group.items | sort_natural: 'title' %}
{% for template in grouptitlesorted %}
{% include tablerow_standard.html %}
{% endfor %}
</tbody>
</table>
{% endfor %}