2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 13:36:47 +00:00

fix footer

This commit is contained in:
Matthias Mair 2021-11-07 16:26:05 +01:00
parent fb2de5fd87
commit 105ec18c55
3 changed files with 22 additions and 18 deletions

View File

@ -1,7 +1,7 @@
title: InvenTree title: InvenTree
tagline: Intuitive Inventory Management tagline: Intuitive Inventory Management
demo-link: http://demo.inventreedb.com/ demo-link: https://demo.inventreedb.com/
doc-link: https://inventree.readthedocs.io/en/latest/ doc-link: https://inventree.readthedocs.io/en/latest/
plugin-link: https://repo.invenhost.com/ plugin-link: https://repo.invenhost.com/

View File

@ -1,41 +1,43 @@
- title: Websites - title: Websites
cats: cats:
- name: Documentation - name: Documentation
link: aa.bb site: doc-link
- name: Demo - name: Demo
link: aa.cc site: demo-link
- name: Plugins - name: Plugins
link: plugin-repo site: plugin-link
- title: Contribute - title: Contribute
cats: cats:
- name: Translate - name: Translate
link: crowdin link: https://crowdin.com/project/inventree
- name: Code - name: Code
link: github link: https://github.com/inventree/InvenTree/blob/master/CONTRIBUTING.md
- name: Report - name: Report
link: github link: https://github.com/inventree/InvenTree/issues/new/choose
- name: Document
link: inventree-docs
- name: Discuss - name: Discuss
link: invetre/dicuss link: https://github.com/inventree/InvenTree/issues
- name: Document
link: https://github.com/inventree/inventree-docs
- name: Fund - name: Fund
link: sponsoring link: https://inventree.readthedocs.io/en/latest/contribute/#donate
- title: Extend - title: Extend
cats: cats:
- name: API
link: https://inventree.readthedocs.io/en/latest/extend/python/
- name: Plugins - name: Plugins
link: plugin-repo site: plugin-link
- name: KiCad - name: KiCad
link: ki-n-tree link: https://github.com/sparkmicro/Ki-nTree/
- name: Fusion360 - name: Fusion360
link: F360-Inventree link: https://github.com/matmair/F360-InvenTree/
- name: Python - name: Python
link: inventree-python link: https://inventree.readthedocs.io/en/latest/extend/python/
- name: More - name: More
link: github-tag-inventree link: https://github.com/topics/inventree
- title: Subsites - title: Sitemap
cats: cats:
- name: Home - name: Home
link: / link: /
@ -45,3 +47,5 @@
link: /business link: /business
- name: For Education - name: For Education
link: /education link: /education
- name: About
link: /about

View File

@ -16,7 +16,7 @@
<nav class="list-none mb-10"> <nav class="list-none mb-10">
{% for item in cat.cats %} {% for item in cat.cats %}
<li> <li>
<a href="{{ item.link }}" class="footer-link">{{ item.name }}</a> <a href="{% if item.site %}{{ site[item.site] }}{% else %}{{ item.link }}{% endif %}" class="footer-link">{{ item.name }}</a>
</li> </li>
{% endfor %} {% endfor %}
</nav> </nav>