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

@ -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 %}