2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-04-28 05:26:44 +00:00

fix author/publisher matching (#123)

This commit is contained in:
Matthias Mair 2023-01-29 22:44:08 +01:00 committed by GitHub
parent bdcbba51cf
commit 68a5da3a24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

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