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 toc_item(item) %} |
| 2 | <li class="toc-item toc-level-{{ item.level }}"> | |
| 3 | <a href="{{ item.url }}">{{ item.title }}</a> | |
| 4 | {% if item.children %} | |
| 5 | <ul class="toc-list"> | |
| 6 | {% for child in item.children %}{{ toc_item(child) }}{% endfor %} | |
| 7 | </ul> | |
| 8 | {% endif %} | |
| 9 | </li> | |
| 10 | {% endmacro %} | |
| 11 | ||
| 12 | {% if page and page.toc %} | |
| 13 | <p class="toc-title">On this page</p> | |
| 14 | <ul class="toc-list toc-root"> | |
|
d1f44d83
Keenan Nemetz
21h ago
|
15 | {% for item in page.toc %}{% if item.title not in ('Next', 'Related') %}{{ toc_item(item) }}{% endif %}{% endfor %} |
|
1f8afe73
Keenan Nemetz
21d ago
|
16 | </ul> |
| 17 | {% endif %} |