Skip to content

Commit

Permalink
change to sort_natural
Browse files Browse the repository at this point in the history
  • Loading branch information
blakadder committed Jun 4, 2021
1 parent 03ea3d3 commit 480f0b4
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion coordinators.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "coordinator" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion covers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "cover" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion deconz.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down
2 changes: 1 addition & 1 deletion dimmers.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "dimmer" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion hvac.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "hvac" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion iobroker.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down
2 changes: 1 addition & 1 deletion lights.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "light" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion locks.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "lock" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion plugs.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "plug" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion remotes.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "remote" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion routers.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "router" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion sensors.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "sensor" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion switches.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ <h2>{{ page.title }}</h2>
<!-- ###################################################################### -->
{% assign categories = site.zigbee | where: "category", "switch" %}
{% assign vendor = categories | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
<table>
<tbody>
{% for type in vendors %}
Expand Down
2 changes: 1 addition & 1 deletion zha.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down
2 changes: 1 addition & 1 deletion zigate.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down
2 changes: 1 addition & 1 deletion zigbee2mqtt.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down
2 changes: 1 addition & 1 deletion zigbee2tasmota.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h3> {{ type.name | capitalize }} </h3>
<table>
<tbody>
{% assign vendor = type.items | group_by: 'vendor' %}
{% assign vendors = vendor | sort: 'name' %}
{% assign vendors = vendor | sort_natural: 'name' %}
{% for type in vendors %}
{% assign type_sorted = type.items | sort_natural: 'title' %}
{% for template in type_sorted %}
Expand Down

0 comments on commit 480f0b4

Please sign in to comment.