mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Refresh Codeberg documentatation looks by using Halfmoon v2. Mobile UI also got a overhaul. Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/655 Reviewed-by: Bastian Greshake Tzovaras <gedankenstuecke@noreply.codeberg.org> Reviewed-by: Otto <otto@codeberg.org> Co-authored-by: Gusted <postmaster@gusted.xyz> Co-committed-by: Gusted <postmaster@gusted.xyz>
13 lines
447 B
Text
13 lines
447 B
Text
{% if content | toc %}
|
|
<nav class="mb-3 d-xl-none" data-pagefind-ignore="all">
|
|
<details class="collapse-panel">
|
|
<summary class="btn btn-secondary d-block w-100 py-2 d-flex align-items-center justify-content-between">
|
|
<span class="antialiased">On this page</span>
|
|
{% fas_icon "angle-down" %}
|
|
</summary>
|
|
<div id="toc" class="border rounded mt-2">
|
|
{{ content | toc | safe }}
|
|
</div>
|
|
</details>
|
|
</nav>
|
|
{% endif %}
|