Hide edit on github on frontpage and component page

This commit is contained in:
Paulus Schoutsen 2016-01-30 12:34:22 -08:00
parent 6382da956b
commit 155e400dc5
4 changed files with 8 additions and 1 deletions

View File

@ -403,4 +403,6 @@ p.note {
.edit-github {
text-align: right;
margin-bottom: 8px;
font-size: .8em;
}

View File

@ -1 +1,3 @@
<div class='edit-github'><a href='https://github.com/balloob/home-assistant.io/tree/master/source/{{ page.path }}'>Edit this page on GitHub</a></div>
{% if page.hide_github_edit != true %}
<div class='edit-github'><a href='https://github.com/balloob/home-assistant.io/tree/master/source/{{ page.path }}'>Edit this page on GitHub</a></div>
{% endif %}

View File

@ -8,6 +8,7 @@ comments: false
sharing: true
footer: true
is_homepage: true
hide_github_edit: true
body_id: components-page
regenerate: true
---

View File

@ -6,7 +6,9 @@ show_title: false
sidebar: false
hero_unit: true
is_homepage: true
hide_github_edit: true
description: Open-source home automation platform running on Python 3. Track and control all devices at home and automate control. Installation in less than a minute.
hide_github_edit: true
---
<div class="grid-wrapper">