Skip to content

Commit 7c0203e

Browse files
committed
added date on news detail template
1 parent 016e081 commit 7c0203e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

templates/frontend/news_detail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<?php $this->stop() ?>
77

88
<h1 class="news-title"><?php echo $object->getTitle();?></h1>
9+
<div class="news-date"><?php echo $object->getDate();?></div>
910
<div class="news-content"><?php echo $object->getContent();?></div>
1011

1112
<?= $this->section('content'); ?>

0 commit comments

Comments
 (0)