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:
3
_includes/partial/publisher_link.html
Normal file
3
_includes/partial/publisher_link.html
Normal 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>
|
Reference in New Issue
Block a user