forked from blakadder/templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
34 lines (30 loc) · 1.42 KB
/
index.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
---
layout: page
title: Tasmota Device Templates
navigation: 1
---
<h3>Tasmota Device Templates Repository</h3>
<h3>{% assign counter = 0 %}{% for item in site.templates %}{% assign counter=counter | plus:1 %}{% endfor %}{{ counter }} devices submitted by the community</h3>
<b>Devices by electrical standard:</b><br>
<a align="right" class="button button-large" href="all.html">ALL</a>
<a align="right" class="button button-large" href="eu.html">EU</a>
<a align="right" class="button button-large" href="us.html">US</a>
<a align="right" class="button button-large" href="uk.html">UK</a>
<a align="right" class="button button-large" href="anzac.html">AU-NZ-AR-CN</a>
<a align="right" class="button button-large" href="global.html">GLOBAL</a>
<br>
<b>Devices by type:</b><br>
<a align="right" class="button button-large" href="plug.html">PLUGS</a>
<a align="right" class="button button-large" href="light.html">LIGHTS</a>
<a align="right" class="button button-large" href="switch.html">SWITCHES</a>
<a align="right" class="button button-large" href="misc.html">MISCELLANEOUS</a>
<br>
<br>
<h3>Recently added devices:</h3>
<ul>
{% assign sorted = site.templates | sort: "date" | reverse %}
{% for template in sorted limit:5 %}
<li><a href="{{site.baseurl}}{{ template.url }}">{{ template.title }} - {{ template.standard | upcase }} {{ template.type }}</a></li>
{% endfor %}
</ul>
<a class="button button-large" href="new.html">Add new template</a>