mirror of
https://github.com/inventree/inventree-website.git
synced 2025-06-14 02:55:34 +00:00
Move lookup and link to partials (#106)
This commit is contained in:
@ -15,10 +15,7 @@ layout: default
|
||||
<h1>{{ page.title }}</h1>
|
||||
<p>
|
||||
{{ page.date | date_to_string }}
|
||||
{% assign publisher = site.publishers | where: 'short_name', page.author | first %}
|
||||
{% if publisher %}
|
||||
- <a href="{{ publisher.url | relative_url }}">{{ publisher.name }}</a>
|
||||
{% endif %}
|
||||
{% include partial/publisher_link.html pub= page.author %}
|
||||
</p>
|
||||
{{ content }}
|
||||
</article>
|
Reference in New Issue
Block a user