Fixes (config.news_author, group_name|capitalize)

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

View File

@@ -3,7 +3,7 @@
<img src="{{ constant('BASE_URL') }}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>