Extract 'affiliated links' text module for reuse

This commit is contained in:
c0ffeeca7 2023-05-10 09:23:00 +02:00
parent 7215a303ae
commit e1ad7d676c
3 changed files with 7 additions and 10 deletions

View File

@ -0,0 +1,5 @@
### Affiliated links
Affiliated links are used on this website to support ESPHome development. Use coupon code `NABUCASA` on [M5Stack](https://shop.m5stack.com/discount/NABUCASA?ref=NabuCasa) for 5% off your order.
[ESPHome](https://esphome.io)— Installer powered by [ESP Web Tools](https://esphome.github.io/esp-web-tools/)

View File

@ -224,11 +224,7 @@ To install the ESPHome software on the device, follow these steps:
* The device is adoptable in [the ESPHome dashboard](https://my.home-assistant.io/redirect/supervisor_addon/?addon=5c53de3b_esphome&repository_url=https%3A%2F%2Fgithub.com%2Fesphome%2Fhome-assistant-addon).
* The YAML configuration is on [GitHub](https://github.com/esphome/media-players/)
### Affiliated links
Affiliated links are used on this website to support ESPHome development. Use Coupon code `NABUCASA` on [M5Stack](https://shop.m5stack.com/discount/NABUCASA?ref=NabuCasa) for 5% off your order.
[ESPHome](https://esphome.io)— Installer powered by [ESP Web Tools](https://esphome.github.io/esp-web-tools/)
{% include /esphome/affiliated_links.markdown %}
<script>
document.querySelectorAll('input[name="type"]').forEach((radio) =>

View File

@ -305,11 +305,7 @@ DIY Expert? [Show advanced boards](?diy)
* The YAML configuration is on [GitHub](https://github.com/esphome/bluetooth-proxies/)
### Affiliated links
Affiliated links are used on this website to support ESPHome development. Use Coupon code `NABUCASA` on [M5Stack](https://shop.m5stack.com/discount/NABUCASA?ref=NabuCasa) for 5% off your order.
[ESPHome](https://esphome.io)&mdash; Installer powered by [ESP Web Tools](https://esphome.github.io/esp-web-tools/)
{% include /esphome/affiliated_links.markdown %}
<script>
document.querySelectorAll('input[name="type"]').forEach((radio) => radio.addEventListener("change", () => {