diff --git a/plugins/output_modder.rb b/plugins/output_modder.rb index b1b9fedb341b..a2ca8164ce18 100644 --- a/plugins/output_modder.rb +++ b/plugins/output_modder.rb @@ -21,15 +21,8 @@ def output_modder(content) # All external links start with 'http', skip when this one does not next unless link.get_attribute('href') =~ /\Ahttp/i - # Append an external link icon, if there isn't an icon already + # Skip our own links next if link.get_attribute('href') =~ /\Ahttps?:\/\/\w*.?home-assistant.io/i - next if link.css('iconify-icon').any? - - icon = Nokogiri::XML::Node.new('iconify-icon', dom) - icon['inline'] = true - icon['icon'] = 'tabler:external-link' - icon['class'] = 'external-link' - link.add_child(icon) # Play nice with our own links next if link.get_attribute('href') =~ /\Ahttps?:\/\/(?:\w+\.)?(?:home-assistant\.io|esphome\.io|nabucasa\.com|openhomefoundation\.org)/i diff --git a/sass/homeassistant/_overrides.scss b/sass/homeassistant/_overrides.scss index 7c30b5a03a88..2f68a875f1b5 100644 --- a/sass/homeassistant/_overrides.scss +++ b/sass/homeassistant/_overrides.scss @@ -1363,19 +1363,6 @@ article.listing { text-decoration: underline; overflow-wrap: break-word; - &[rel*="external"] { - position: relative; - - &:after { - content: "\00a0\00a0\00a0\00a0\00a0"; - display: inline-block; - } - - iconify-icon { - align-self: center; - position: absolute; - } - } &.btn { font-size: 1.1em; diff --git a/source/_includes/asides/about.html b/source/_includes/asides/about.html index f850359baef8..84cefab011e8 100644 --- a/source/_includes/asides/about.html +++ b/source/_includes/asides/about.html @@ -5,9 +5,9 @@

{% icon "mdi:about-circle-outline" %} About Home Assis {{ site.description }}
  • Get started with Home Assistant
  • -
  • Try the online demo {% icon "tabler:external-link" %}
  • -
  • Sign up for our newsletter {% icon "tabler:external-link" %}
  • -
  • Follow Home Assistant on X {% icon "tabler:external-link" %}
  • +
  • Try the online demo
  • +
  • Sign up for our newsletter
  • +
  • Follow Home Assistant on X
  • {% comment %}
  • Subscribe to the Home Assistant Newsletter @@ -19,6 +19,6 @@

    {% icon "mdi:about-circle-outline" %} About Home Assis {% endcomment %}

    - Home Assistant is part of the Open Home Foundation {% icon "tabler:external-link" %}. + Home Assistant is part of the Open Home Foundation.

    diff --git a/source/_includes/asides/dashboards_navigation.html b/source/_includes/asides/dashboards_navigation.html index adb372e67f4b..bad391301030 100644 --- a/source/_includes/asides/dashboards_navigation.html +++ b/source/_includes/asides/dashboards_navigation.html @@ -42,10 +42,9 @@

    {% icon "mdi:cog" %} Advanced

  • {% active_link /dashboards/actions/ Actions %}
  • {% active_link /dashboards/naming/ Naming %}
  • Developing custom cards - {% icon "tabler:external-link" %}
  • diff --git a/source/_includes/asides/docs_sitemap.html b/source/_includes/asides/docs_sitemap.html index 27127ae715e3..3cafd0909ff0 100644 --- a/source/_includes/asides/docs_sitemap.html +++ b/source/_includes/asides/docs_sitemap.html @@ -99,8 +99,7 @@ class="external-link" href="https://developers.home-assistant.io/docs/frontend/custom-ui/custom-card/" >Developing custom cards - {% icon "tabler:external-link" %} - + @@ -255,7 +254,7 @@
  • - {% icon "mdi:cellphone" %} iOS and Android apps {% icon "tabler:external-link" %} + {% icon "mdi:cellphone" %} iOS and Android apps
  • @@ -276,11 +275,11 @@
  • {% icon "bitcoin-icons:node-hardware-filled" %} Official hardware
  • diff --git a/source/_includes/asides/getting_started_navigation.html b/source/_includes/asides/getting_started_navigation.html index fa17af3034bf..b786ead615c2 100644 --- a/source/_includes/asides/getting_started_navigation.html +++ b/source/_includes/asides/getting_started_navigation.html @@ -9,8 +9,8 @@

    {% icon "mdi:rocket-launch-outline" %} Getting started
  • {% active_link /installation/ Installation %} {% if root == 'installation' %}