mirror of
				https://github.com/inventree/inventree-website.git
				synced 2025-10-30 21:15:48 +00:00 
			
		
		
		
	fix author/publisher matching (#123)
This commit is contained in:
		| @@ -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> | ||||||
| @@ -15,7 +15,7 @@ layout: default | |||||||
|     <h1>{{ page.title }}</h1> |     <h1>{{ page.title }}</h1> | ||||||
|     <p> |     <p> | ||||||
|       {{ page.date | date_to_string }} |       {{ page.date | date_to_string }} | ||||||
|       {% include partial/publisher_link.html pub= page.author %} |       {% include partial/publisher_link.html pub=page.author %} | ||||||
|     </p> |     </p> | ||||||
|     {{ content }} |     {{ content }} | ||||||
| </article> | </article> | ||||||
		Reference in New Issue
	
	Block a user