diff --git a/_layouts/collection/collection_base.html b/_layouts/collection/collection_base.html index 82ca2e8d..bf6247db 100644 --- a/_layouts/collection/collection_base.html +++ b/_layouts/collection/collection_base.html @@ -15,7 +15,7 @@ layout: default

{{ page.title }}

{{ 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 %} - {{ publisher.name }} {% endif %} diff --git a/_news/2022-04-23-news-are-starting.md b/_news/2022-04-23-news-are-starting.md index 5c66d1ff..2156a463 100644 --- a/_news/2022-04-23-news-are-starting.md +++ b/_news/2022-04-23-news-are-starting.md @@ -1,5 +1,5 @@ --- -publisher: matmair +author: matmair title: We have news now! --- Hi there, diff --git a/_posts/2021-10-25-starting.md b/_posts/2021-10-25-starting.md index 650e2b27..56ccb204 100644 --- a/_posts/2021-10-25-starting.md +++ b/_posts/2021-10-25-starting.md @@ -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/).