Fixes (config.news_author, group_name|capitalize)

This commit is contained in:
slawkens
2022-01-02 07:31:57 +01:00
parent d58d7f79e7
commit 1fbb7c373e
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@
<img src="{{ template_path }}/images/news/icon_{{ icon }}.gif" class="NewsHeadlineIcon" />
<div class="NewsHeadlineDate">{{ date|date(config.news_date_format) }} - </div>
<div class="NewsHeadlineText">{{ title }}</div>
{% if author is not empty %}
{% config.news_author and if author is not empty %}
<div class="NewsHeadlineAuthor"><b>Author: </b><i>{{ author }}</i></div>
{% endif %}
</div>