mirror of
https://github.com/inventree/inventree-website.git
synced 2025-08-11 06:50:59 +00:00
.github
_data
_drafts
_includes
base
block
fnc
link.html
partial
plugin_card.html
testimonials.html
_layouts
_news
_plugins
_posts
_publishers
_repo
about
alternatives
assets
extend
use
.gitignore
404.md
CNAME
Gemfile
Gemfile.lock
LICENSE
README.md
_config.yml
blog.html
categories.html
contribute.md
demo.md
deploy.md
digitalocean.md
functions.md
index.md
news.html
newsletter.md
package-lock.json
package.json
plugins.html
postcss.config.js
publishers.html
support.md
tags.html
tailwind.config.js
18 lines
465 B
HTML
18 lines
465 B
HTML
{% capture link %}
|
|
{% if include.internal %}
|
|
{% link include.internal %}
|
|
{% endif %}
|
|
{% if include.item.site %}
|
|
{{ site[include.item.site] }}
|
|
{% elsif include.item.internal %}
|
|
{% link {{ include.item.internal }} %}
|
|
{% elsif include.item.link %}
|
|
{{ include.item.link | include fnc/link.html }}
|
|
{% elsif include.item.home %}
|
|
{{ '/' | relative_url }}
|
|
{% elsif include.item %}
|
|
{{ include.item }}
|
|
{% endif %}
|
|
{% endcapture %}
|
|
|
|
{{ link | strip }} |