mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-02 00:06:49 +00:00
33 lines
955 B
HTML
33 lines
955 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<article class="page">
|
|
{% if page.title and page.show_title != false and page.layout != "landingpage" %}
|
|
<header>
|
|
<h1 class="title indent">
|
|
{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title
|
|
}}{% endif %}
|
|
</h1>
|
|
</header>
|
|
{% if page.collection == "integrations" %}
|
|
{% assign active_alert = "" %}
|
|
{% for alert in site.data.alerts_data %}
|
|
{% for integration in alert.integrations %}
|
|
{% if integration.package == page.ha_domain %}
|
|
{% assign active_alert = alert.alert_url %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
{% if active_alert != "" %}
|
|
<div class="integration-alert">
|
|
<a href="{{active_alert}}" target="_blank">⚠️ There is an active alert for this integration!</a>
|
|
</div>
|
|
{% endif %}
|
|
{% endif %}
|
|
<hr class="divider" />
|
|
{% endif %}
|
|
{{ content }}
|
|
|
|
{% include feedback.html %}
|
|
</article> |