mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-27 21:16:45 +00:00
fix author/publisher matching (#123)
This commit is contained in:
parent
bdcbba51cf
commit
68a5da3a24
@ -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 %}
|
||||
<a href="{{ publisher_ref.url | relative_url }}">{{ publisher_ref.name }}</a>
|
@ -15,7 +15,7 @@ layout: default
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>
|
||||
{{ page.date | date_to_string }}
|
||||
{% include partial/publisher_link.html pub= page.author %}
|
||||
{% include partial/publisher_link.html pub=page.author %}
|
||||
</p>
|
||||
{{ content }}
|
||||
</article>
|
Loading…
x
Reference in New Issue
Block a user