v1.0.0
This commit is contained in:
1 parent
dfad658237
commit
6c5175d2f1
34 files changed
+3007
-1239
No files matched your search
@@ -0,0 +1,30 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}{{ title or _(page.title) }} · {{ _('Help') }} · {{ appearance.name }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="help-layout">
|
||||
<nav class="help-nav card" aria-label="{{ _('Documentation') }}">
|
||||
<h2>{{ _('Help') }}</h2>
|
||||
<ul>
|
||||
{% for item in pages %}
|
||||
<li><a href="{{ item.url }}"{% if item.slug == page.slug %} aria-current="page"{% endif %}>{{ _(item.title) }}</a></li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
<article class="doc card">
|
||||
{% if current_language() != 'de' %}<p class="alert info" lang="{{ current_language() }}">{{ _('The documentation is only available in German.') }}</p>{% endif %}
|
||||
<div lang="de">
|
||||
<h1>{{ title or _(page.title) }}</h1>
|
||||
{% if toc %}
|
||||
<nav class="doc-toc" aria-label="{{ _('Contents') }}">
|
||||
<p class="doc-toc-title">{{ _('Contents') }}</p>
|
||||
<ul>
|
||||
{% for heading in toc %}<li><a href="#{{ heading.anchor }}">{{ heading.text }}</a></li>{% endfor %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
{{ body }}
|
||||
</div>
|
||||
</article>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in new issue
Block a user