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>
10 lines
399 B
Text
10 lines
399 B
Text
{% if content | toc %}
|
|
<nav class="col-xl-3 position-relative d-none d-xl-block" id="toc-side" data-pagefind-ignore="all">
|
|
<div class="position-sticky start-0 py-3 py-sm-4 ps-4" style="top: 63px;">
|
|
<span class="h4 lh-base">On this page</span>
|
|
<div id="toc" class="overflow-y-auto pe-2" style="max-height: 43.75rem;">
|
|
{{ content | toc | safe }}
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
{% endif %}
|