mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-24 17:57:14 +00:00
Add edit on GitHub link
This commit is contained in:
parent
b077402243
commit
48e3696239
@ -203,10 +203,6 @@ p.note {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#site-search .search {
|
|
||||||
width: calc(100% - 36px);
|
|
||||||
}
|
|
||||||
|
|
||||||
.install-instructions-container {
|
.install-instructions-container {
|
||||||
#normal-install, #raspberry-install, #docker-install, .install-instructions {
|
#normal-install, #raspberry-install, #docker-install, .install-instructions {
|
||||||
display: none;
|
display: none;
|
||||||
@ -404,3 +400,7 @@ p.note {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.edit-github {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
{% assign components = site.components | sort: 'title' %}
|
{% assign components = site.components | sort: 'title' %}
|
||||||
<section class="aside-module grid__item one-whole lap-one-half">
|
<section class="aside-module grid__item one-whole lap-one-half">
|
||||||
|
{% include edit_github.html %}
|
||||||
|
|
||||||
<div class='brand-logo-container section'>
|
<div class='brand-logo-container section'>
|
||||||
{% if page.logo %}
|
{% if page.logo %}
|
||||||
<img src='/images/supported_brands/{{ page.logo }}' />
|
<img src='/images/supported_brands/{{ page.logo }}' />
|
||||||
|
1
source/_includes/edit_github.html
Normal file
1
source/_includes/edit_github.html
Normal 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>
|
@ -4,6 +4,8 @@ layout: default
|
|||||||
|
|
||||||
<article class="page">
|
<article class="page">
|
||||||
|
|
||||||
|
{% include edit_github.html %}
|
||||||
|
|
||||||
{% if page.title and page.show_title != false %}
|
{% if page.title and page.show_title != false %}
|
||||||
<header>
|
<header>
|
||||||
<h1 class="title indent">
|
<h1 class="title indent">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user