Hide edit on github on frontpage and component page
This commit is contained in:
parent
6382da956b
commit
155e400dc5
4 changed files with 8 additions and 1 deletions
|
@ -403,4 +403,6 @@ p.note {
|
|||
|
||||
.edit-github {
|
||||
text-align: right;
|
||||
margin-bottom: 8px;
|
||||
font-size: .8em;
|
||||
}
|
||||
|
|
|
@ -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 %}
|
|
@ -8,6 +8,7 @@ comments: false
|
|||
sharing: true
|
||||
footer: true
|
||||
is_homepage: true
|
||||
hide_github_edit: true
|
||||
body_id: components-page
|
||||
regenerate: true
|
||||
---
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue