mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
add more link options
This commit is contained in:
parent
f2402263a9
commit
740e9edf52
@ -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 %}
|
||||
|
Loading…
x
Reference in New Issue
Block a user