mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-17 00:18:58 +00:00

* Extract developer site * Fix title in sidebar * Update dev section reference * Update edit in github link on help page
27 lines
623 B
HTML
27 lines
623 B
HTML
---
|
|
layout: default
|
|
---
|
|
|
|
<article class="page">
|
|
{% assign url_parts = page.url | split: '/' %}
|
|
{% if url_parts[1] != 'components' and
|
|
url_parts[1] != 'cookbook' and
|
|
url_parts[1] != 'developers' and
|
|
url_parts[1] != 'help' and
|
|
url_parts[1] != 'getting-started' %}
|
|
{% include edit_github.html %}
|
|
{% endif %}
|
|
|
|
{% if page.title and page.show_title != false %}
|
|
<header>
|
|
<h1 class="title indent">
|
|
{% if site.titlecase %}{{ page.title | titlecase }}{% else %}{{ page.title }}{% endif %}
|
|
</h1>
|
|
</header>
|
|
<hr class="divider">
|
|
{% endif %}
|
|
|
|
{{ content }}
|
|
|
|
</article>
|