2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 01:55:37 +00:00

Move lookup and link to partials (#106)

This commit is contained in:
Matthias Mair
2023-01-20 00:59:31 +01:00
committed by GitHub
parent b5e1cf59e5
commit f4969b4cfe
3 changed files with 5 additions and 5 deletions

View File

@ -0,0 +1,3 @@
{% assign pub_small = include.pub | downcase %}
{% assign publisher_ref = site.publishers | where: 'short_name', pub_small | first %}
<a href="{{ publisher_ref.url | relative_url }}">{{ publisher_ref.name }}</a>