vole
Site
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software/vole.git
Self-hosted forge that lives in your Git repo.
|
1f8afe73
Keenan Nemetz
21d ago
|
1 | {% macro nav_item(item) %} |
| 2 | {% if item.children %} | |
| 3 | <li class="nav-section"> | |
| 4 | <p class="nav-section-title">{{ item.title }}</p> | |
| 5 | <ul class="nav-list"> | |
| 6 | {% for child in item.children %}{{ nav_item(child) }}{% endfor %} | |
| 7 | </ul> | |
| 8 | </li> | |
| 9 | {% else %} | |
| 10 | <li class="nav-item"> | |
| 11 | <a class="nav-link{% if item.active %} active{% endif %}" href="{{ item.url|url }}"{% if item.active %} aria-current="page"{% endif %}>{{ item.title }}</a> | |
| 12 | </li> | |
| 13 | {% endif %} | |
| 14 | {% endmacro %} | |
| 15 | ||
| 16 | <nav class="nav" aria-label="Documentation"> | |
| 17 | <ul class="nav-list nav-root"> | |
| 18 | {% for item in nav %}{{ nav_item(item) }}{% endfor %} | |
| 19 | </ul> | |
| 20 | </nav> |