diff --git a/_config.yml b/_config.yml index c8657356797..1fcd8b3c3e8 100644 --- a/_config.yml +++ b/_config.yml @@ -63,7 +63,7 @@ titlecase: true # Converts page and post titles to titlecase # page_asides: collections: - components: + integrations: output: true cookbook: output: true diff --git a/source/integrations/index.html b/source/integrations/index.html index 3e4de44d1ba..dca1868b1a4 100644 --- a/source/integrations/index.html +++ b/source/integrations/index.html @@ -10,22 +10,22 @@ regenerate: false {%- comment -%}Can't use where to count nil because of https://github.com/jekyll/jekyll/issues/6038{%- endcomment -%} {%- assign tot = 0 -%} -{%- for comp in site.components -%} - {%- if comp.ha_category -%} - {%- if comp.ha_category.first -%} - {%- assign tot = tot | plus: comp.ha_category.size -%} - {%- else -%} - {%- assign tot = tot | plus: 1 -%} - {%- endif -%} - {%- endif %} +{%- for comp in site.integrations -%} +{%- if comp.ha_category -%} +{%- if comp.ha_category.first -%} +{%- assign tot = tot | plus: comp.ha_category.size -%} +{%- else -%} +{%- assign tot = tot | plus: 1 -%} +{%- endif -%} +{%- endif %} {%- endfor -%} -{%- assign components = site.components | sort: 'title' -%} -{%- assign components_by_version = site.components | group_components_by_release -%} +{%- assign components = site.integrations | sort: 'title' -%} +{%- assign components_by_version = site.integrations | group_components_by_release -%} {%- assign categories = components | map: 'ha_category' | join: ',' | join: ',' | split: ',' | uniq | sort -%}
-Support for these integrations is provided by the Home Assistant community. + Support for these integrations is provided by the Home Assistant community.