2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +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 ref: business
link: link:
internal: use/business internal: use/business.md
title: For Business title: For Business
text: | text: |
lorem ipsum text lorem ipsum text

View File

@ -1,6 +1,6 @@
ref: edu ref: edu
link: link:
internal: use/education internal: use/education.md
title: For Education title: For Education
text: | 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! 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 ref: maker
link: link:
internal: use/maker internal: use/maker.md
title: For Maker title: For Maker
text: | text: |
lorem ipsum text lorem ipsum text

View File

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

View File

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

View File

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