Add integrations.json (#17183)

This commit is contained in:
Joakim Sørensen 2021-03-30 12:21:58 +02:00 committed by GitHub
parent 78cdc5da2e
commit b7f0119ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
source/integrations.json Normal file
View File

@ -0,0 +1,14 @@
---
layout: none
---
{
{%- for integration in site.integrations %}
{%- assign target = integration.ha_domain | append: ".markdown" | prepend: "_integrations/" -%}
{%- if integration.path == target %}
"{{integration.ha_domain}}": {
"title": "{{integration.title}}"
}{%- if forloop.last -%}{%- else -%},{%- endif -%}
{%- endif -%}
{%- endfor %}
}