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

add more link options

This commit is contained in:
Matthias Mair 2022-04-16 23:39:34 +02:00
parent f2402263a9
commit 740e9edf52

View File

@ -1,4 +1,7 @@
{% capture link %}
{% if include.internal %}
{% link include.internal %}
{% endif %}
{% if include.item.site %}
{{ site[include.item.site] }}
{% elsif include.item.internal %}
@ -7,7 +10,7 @@
{{ include.item.link | include fnc/link.html }}
{% elsif include.item.home %}
{{ '/' | relative_url }}
{% else %}
{% elsif include.item %}
{{ include.item }}
{% endif %}
{% endcapture %}