<pclass="empty">There is no page called <strong>{{ title }}</strong> yet.{% if can_edit %} <ahref="{{ repo.url }}/wiki/_new?title={{ title }}">Create it</a>.{% endif %}</p>
26
{% else %}
27
<sectionclass="panel">
28
<h2>No wiki yet</h2>
29
<p>A wiki is Markdown pages kept as an Oxygen repository of their own beside the code: every edit is a signed change, and it clones and pushes like any repository.</p>
30
{% if can_edit %}<p><aclass="go"href="{{ repo.url }}/wiki/_new?title=Home">Write the first page</a></p>{% endif %}
<pclass="small mute">Pages are <code>Name.md</code> at the root on <code>main</code>; <code>_Sidebar.md</code> is the sidebar. Web edits need a delegation to this hub's key, as code edits do.</p>
<ulclass="plain">{% for p in pages %}<li><ahref="{{ repo.url }}/wiki/{{ p }}"{% if *p == slug %} class="on"{% endif %}>{{ crate::wiki::title_of(p) }}</a></li>{% endfor %}</ul>
40
<pclass="small"><ahref="{{ repo.url }}/wiki/_pages">Search the pages ›</a></p>
41
</details>
42
</section>{% endif %}
43
{% if toc.len() > 1 %}<sectionclass="side-sec"><divclass="side-head"><h3>Contents</h3></div>
44
<ulclass="plain wiki-toc">{% for (level, text, id) in toc %}<liclass="lv{{ level }}"><ahref="#{{ id }}">{{ text|safe }}</a></li>{% endfor %}</ul>