2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-27 21:16:45 +00:00

use resolver for global link section

This commit is contained in:
Matthias Mair 2022-04-22 22:43:57 +02:00
parent 0d16944de2
commit 01499a4380
2 changed files with 5 additions and 3 deletions

View File

@ -3,6 +3,8 @@ title: InvenTree
tagline: Intuitive Inventory Management
demo-link: https://inventree.readthedocs.io/en/latest/demo/
doc-link: https://inventree.readthedocs.io/en/latest/
blog-link:
internal: blog/index.html
plugin-link:
internal: plugins.html

View File

@ -6,9 +6,9 @@
</a>
<nav class="md:mr-auto md:ml-4 md:py-1 md:pl-4 md:border-l md:border-gray-400 flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:cm-gray-1" href="{{ '/blog' | relative_url }}">Blog</a>
<a class="mr-5 hover:cm-gray-1" href="{{ site.plugin-link }}">Plugins</a>
<a class="mr-5 hover:cm-gray-1" href="{{ site.doc-link }}">Docs</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.blog-link %}">Blog</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.plugin-link %}">Plugins</a>
<a class="mr-5 hover:cm-gray-1" href="{% include fnc/link.html item=site.doc-link %}">Docs</a>
</nav>
{% if page.main_page %}