From b7f0119ab3a4c297776087ba67e170cbd503f0c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joakim=20S=C3=B8rensen?= Date: Tue, 30 Mar 2021 12:21:58 +0200 Subject: [PATCH] Add integrations.json (#17183) --- source/integrations.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 source/integrations.json diff --git a/source/integrations.json b/source/integrations.json new file mode 100644 index 00000000000..d2c1d7e6865 --- /dev/null +++ b/source/integrations.json @@ -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 %} +} +