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

change internal links to references

This commit is contained in:
Matthias Mair 2022-04-18 21:10:47 +02:00
parent 7690eaa3ca
commit 34f77c57a8
8 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
ref: business
link:
internal: use/business
internal: use/business.md
title: For Business
text: |
lorem ipsum text

View File

@ -1,6 +1,6 @@
ref: edu
link:
internal: use/education
internal: use/education.md
title: For Education
text: |
Electronic Labs are creative places. Whether your institution works with K12 or post-grads - organisation and tooling is challenging. Let InvenTree help you calm the storm!

View File

@ -1,6 +1,6 @@
ref: maker
link:
internal: use/maker
internal: use/maker.md
title: For Maker
text: |
lorem ipsum text

View File

@ -1,6 +1,6 @@
title: InvenTree builds it vast functions on top of a few core workflows
link:
internal: functions
internal: functions/index.md
text:
functions:
- title: Organize Parts

View File

@ -42,12 +42,12 @@
- name: Home
home: true
- name: For Maker
internal: maker
internal: use/maker.md
- name: For Business
internal: business
internal: use/business.md
- name: For Education
internal: education
internal: use/education.md
- name: About
internal: about
internal: about/index.md
- name: Blog
internal: blog
internal: blog/index.html

View File

@ -5,7 +5,7 @@
{% if include.item.site %}
{{ site[include.item.site] }}
{% elsif include.item.internal %}
{{ include.item.internal | relativurl }}
{% link {{ include.item.internal }} %}
{% elsif include.item.link %}
{{ include.item.link | include fnc/link.html }}
{% elsif include.item.home %}