mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-02 17:18:58 +00:00

* ✨ Adds rel nofollow to external links Fixes #4583 Signed-off-by: Franck Nijhof <frenck@geekchimp.com> * 🎀 Adds support for appending nofollow to existing external links
46 lines
1.1 KiB
HTML
46 lines
1.1 KiB
HTML
---
|
|
layout: compress
|
|
---
|
|
|
|
{% capture root_url %}{{ site.root | strip_slash }}{% endcapture %}{% include site/head.html %}
|
|
|
|
<body {% if page.body_id %} id="{{ page.body_id }}"{% endif %}>
|
|
|
|
<header class='site-header'>
|
|
{% include site/header.html %}
|
|
</header>
|
|
|
|
{% if page.hero_unit %}
|
|
{% include site/hero_unit.html %}
|
|
{% endif %}
|
|
|
|
<div class="grid-wrapper">
|
|
<div class="grid grid-center">
|
|
{% if page.is_post and page.sidebar == false %}
|
|
<div class="grid__item four-fifths lap-one-whole palm-one-whole">
|
|
{% elsif page.is_homepage %}
|
|
<div class="grid__item one-whole">
|
|
{% else %}
|
|
<div class="grid__item two-thirds lap-one-whole palm-one-whole">
|
|
{% endif %}
|
|
|
|
{{ content | nofollow }}
|
|
|
|
</div>
|
|
|
|
{% unless page.sidebar == false %}
|
|
<aside id="sidebar" class="grid__item one-third lap-one-whole palm-one-whole">
|
|
{% include site/sidebar.html %}
|
|
</aside>
|
|
{% endunless %}
|
|
</div>
|
|
</div>
|
|
|
|
<footer>
|
|
{% include site/footer.html %}
|
|
</footer>
|
|
|
|
{% include javascripts/scripts.html %}
|
|
</body>
|
|
</html>
|