move prose pages to the top level #63
14
config.toml
14
config.toml
@ -103,20 +103,6 @@ url = "https://git.clan.lol/clan/clan-core"
|
|||||||
post = "v0.1.0"
|
post = "v0.1.0"
|
||||||
weight = 20
|
weight = 20
|
||||||
|
|
||||||
|
|
||||||
# Menu items
|
|
||||||
[[extra.menu.main]]
|
|
||||||
name = "Docs"
|
|
||||||
section = "docs"
|
|
||||||
url = "/docs/getting-started/introduction/"
|
|
||||||
weight = 10
|
|
||||||
|
|
||||||
[[extra.menu.main]]
|
|
||||||
name = "Blog"
|
|
||||||
section = "blog"
|
|
||||||
url = "/blog/"
|
|
||||||
weight = 20
|
|
||||||
|
|
||||||
# Footer contents
|
# Footer contents
|
||||||
[extra.footer]
|
[extra.footer]
|
||||||
info = 'Powered by <a href="https://www.getzola.org/">Zola</a>, and <a href="https://github.com/aaranxu/adidoks">AdiDoks</a>'
|
info = 'Powered by <a href="https://www.getzola.org/">Zola</a>, and <a href="https://github.com/aaranxu/adidoks">AdiDoks</a>'
|
||||||
|
@ -51,12 +51,6 @@
|
|||||||
<a class="nav-link" href="{{ get_url(path=val.url, trailing_slash=true) | safe }}">{{ val.name }}</a>
|
<a class="nav-link" href="{{ get_url(path=val.url, trailing_slash=true) | safe }}">{{ val.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% elif config.extra.menu.main %}
|
|
||||||
{% for val in config.extra.menu.main %}
|
|
||||||
<li class="nav-item{% if current_section == val.section %} {{ current_section }} active{% endif %}">
|
|
||||||
<a class="nav-link" href="{{ get_url(path=val.url, trailing_slash=true) | safe }}">{{ val.name }}</a>
|
|
||||||
</li>
|
|
||||||
{% endfor %}
|
|
||||||
{% else %}
|
{% else %}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<a class="nav-link" href="{{ get_url(path="docs", trailing_slash=true) | safe }}">Docs</a>
|
<a class="nav-link" href="{{ get_url(path="docs", trailing_slash=true) | safe }}">Docs</a>
|
||||||
|
Loading…
Reference in New Issue
Block a user