displays only the year in collections index items
This commit is contained in:
parent
92f25811e8
commit
9d042ea0ee
|
@ -22,7 +22,7 @@ $summary = $showSummary ? $site->summary() : null;
|
|||
</li>
|
||||
<li class="date">
|
||||
<?php if ($site_meta_values != null): ?>
|
||||
<?= $site_meta_values['project_date']; ?>
|
||||
<?= substr($site_meta_values['project_date'], 0, 4); ?>
|
||||
<?php endif; ?>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue