2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-12 10:05:36 +00:00

swtitch to using author tag

This commit is contained in:
Matthias Mair
2022-07-30 21:26:38 +02:00
committed by GitHub
parent 18d2086261
commit 27091c1078
3 changed files with 3 additions and 3 deletions

View File

@ -15,7 +15,7 @@ layout: default
<h1>{{ page.title }}</h1>
<p>
{{ page.date | date_to_string }}
{% assign publisher = site.publishers | where: 'short_name', page.publisher | first %}
{% assign publisher = site.publishers | where: 'short_name', page.author | first %}
{% if publisher %}
- <a href="{{ publisher.url | relative_url }}">{{ publisher.name }}</a>
{% endif %}