fix: add news time in detail view
This commit is contained in:
@@ -40,6 +40,10 @@
|
||||
|
||||
<!-- News title -->
|
||||
<h1 class="news-detail__title">{newsItem.title}</h1>
|
||||
<time class="news-detail__time" itemprop="datePublished" datetime="{f:format.date(date:newsItem.datetime, format:'Y-m-d')}">
|
||||
<f:format.date format="{f:translate(key:'dateFormat')}">{newsItem.datetime}</f:format.date>
|
||||
</time>
|
||||
|
||||
|
||||
<!-- Teaser text -->
|
||||
<f:if condition="{newsItem.teaser}">
|
||||
|
||||
Reference in New Issue
Block a user