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:
parent
f2402263a9
commit
740e9edf52
@ -1,4 +1,7 @@
|
|||||||
{% capture link %}
|
{% capture link %}
|
||||||
|
{% if include.internal %}
|
||||||
|
{% link include.internal %}
|
||||||
|
{% endif %}
|
||||||
{% if include.item.site %}
|
{% if include.item.site %}
|
||||||
{{ site[include.item.site] }}
|
{{ site[include.item.site] }}
|
||||||
{% elsif include.item.internal %}
|
{% elsif include.item.internal %}
|
||||||
@ -7,7 +10,7 @@
|
|||||||
{{ include.item.link | include fnc/link.html }}
|
{{ include.item.link | include fnc/link.html }}
|
||||||
{% elsif include.item.home %}
|
{% elsif include.item.home %}
|
||||||
{{ '/' | relative_url }}
|
{{ '/' | relative_url }}
|
||||||
{% else %}
|
{% elsif include.item %}
|
||||||
{{ include.item }}
|
{{ include.item }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endcapture %}
|
{% endcapture %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user