mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Aside: move categories beneath side toc (#29431)
This commit is contained in:
parent
4c92dc00bd
commit
12622cbffe
@ -74,19 +74,4 @@
|
||||
<a href="https://github.com/home-assistant/core/issues?q=is%3Aissue+is%3Aopen+label%3A%22integration%3A+{{ domain }}%22" target="_blank"><i class="icon-bug"></i> View known issues</a>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
||||
|
||||
{%- if page.ha_category.first -%}
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Categories</h1>
|
||||
<ul class='divided'>
|
||||
{%- for category in page.ha_category -%}
|
||||
<li>
|
||||
<a href='/integrations/#{{ category | slugify }}'>{{ category }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
{%- endif -%}
|
||||
|
||||
</section>
|
||||
|
@ -47,6 +47,21 @@
|
||||
</section>
|
||||
{%- endunless -%}
|
||||
{% endif %}
|
||||
|
||||
{%- if page.ha_category.first -%}
|
||||
<section class="aside-module grid__item one-whole lap-one-half">
|
||||
<div class='section'>
|
||||
<h1 class="title delta">Categories</h1>
|
||||
<ul class='divided'>
|
||||
{%- for category in page.ha_category -%}
|
||||
<li>
|
||||
<a href='/integrations/#{{ category | slugify }}'>{{ category }}</a>
|
||||
</li>
|
||||
{%- endfor -%}
|
||||
</ul>
|
||||
</div>
|
||||
</section>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
// Some sidebars are longer than the screen so they can't be locked.
|
||||
|
Loading…
x
Reference in New Issue
Block a user