move prose pages to the top level #63

Merged
hsjobeki merged 11 commits from fricklerhandwerk/clan-homepage:cleanup-templates into main 2024-04-15 18:16:58 +00:00
2 changed files with 0 additions and 20 deletions
Showing only changes of commit eea9953bdf - Show all commits

View File

@ -103,20 +103,6 @@ url = "https://git.clan.lol/clan/clan-core"
post = "v0.1.0"
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
[extra.footer]
info = 'Powered by <a href="https://www.getzola.org/">Zola</a>, and <a href="https://github.com/aaranxu/adidoks">AdiDoks</a>'

View File

@ -51,12 +51,6 @@
<a class="nav-link" href="{{ get_url(path=val.url, trailing_slash=true) | safe }}">{{ val.name }}</a>
</li>
{% 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 %}
<li class="nav-item">
<a class="nav-link" href="{{ get_url(path="docs", trailing_slash=true) | safe }}">Docs</a>