Aside: move categories beneath side toc (#29431)

This commit is contained in:
c0ffeeca7 2023-10-20 08:19:52 +02:00 committed by GitHub
parent 4c92dc00bd
commit 12622cbffe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 16 deletions

View File

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

View File

@ -46,7 +46,22 @@
</div>
</section>
{%- endunless -%}
{% endif %}
{% 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.