Add edit on GitHub link

This commit is contained in:
Paulus Schoutsen 2016-01-22 00:12:39 -08:00
parent b077402243
commit 48e3696239
4 changed files with 9 additions and 4 deletions

View file

@ -1,5 +1,7 @@
{% assign components = site.components | sort: 'title' %}
<section class="aside-module grid__item one-whole lap-one-half">
{% include edit_github.html %}
<div class='brand-logo-container section'>
{% if page.logo %}
<img src='/images/supported_brands/{{ page.logo }}' />

View file

@ -0,0 +1 @@
<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>

View file

@ -4,6 +4,8 @@ layout: default
<article class="page">
{% include edit_github.html %}
{% if page.title and page.show_title != false %}
<header>
<h1 class="title indent">