mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
add links to footer
This commit is contained in:
parent
ed77735edb
commit
d8071f2cb3
@ -9,11 +9,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="flex-grow flex flex-wrap md:pl-10 mb-1 md:mt-0 mt-10 md:text-left text-center md:justify-left justify-center">
|
<div class="flex-grow flex flex-wrap md:pl-10 mb-1 md:mt-0 mt-10 md:text-left text-center md:justify-left justify-center">
|
||||||
|
|
||||||
{% assign footer = footer|default: site.data.general.footer %}
|
{% assign footer = footer|default: site.data.general.footer %}
|
||||||
{% for cat in footer %}
|
{% for cat in footer %}
|
||||||
<div class="md:w-1/4 px-4">
|
<div class="md:w-1/4 px-4">
|
||||||
<h2 class="footer-categorie title-font">{{ cat.title }}</h2>
|
<h2 class="footer-categorie title-font">
|
||||||
|
{% if cat.link %}<a href="{% include fnc/link.html item=cat.link %}">{% endif %}{{cat.title}}{% if cat.link %}</a>{% endif %}
|
||||||
|
</h2>
|
||||||
<nav class="list-none mb-10"><ul>
|
<nav class="list-none mb-10"><ul>
|
||||||
{% for item in cat.cats %}
|
{% for item in cat.cats %}
|
||||||
<li><a href="{% include fnc/link.html item=item%}" class="footer-link">{{ item.name }}</a></li>
|
<li><a href="{% include fnc/link.html item=item%}" class="footer-link">{{ item.name }}</a></li>
|
||||||
@ -21,7 +22,6 @@
|
|||||||
</ul></nav>
|
</ul></nav>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user