mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
swtitch to using author tag
This commit is contained in:
parent
18d2086261
commit
27091c1078
@ -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 %}
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
publisher: matmair
|
||||
author: matmair
|
||||
title: We have news now!
|
||||
---
|
||||
Hi there,
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
publisher: matmair
|
||||
author: matmair
|
||||
title: Starting with templates
|
||||
---
|
||||
A good starting-point for developing your own plugin is taking a look at the [documentation](https://inventree.readthedocs.io/en/latest/extend/plugins/).
|
||||
|
Loading…
x
Reference in New Issue
Block a user