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>
|
||||||
<li class="date">
|
<li class="date">
|
||||||
<?php if ($site_meta_values != null): ?>
|
<?php if ($site_meta_values != null): ?>
|
||||||
<?= $site_meta_values['project_date']; ?>
|
<?= substr($site_meta_values['project_date'], 0, 4); ?>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Reference in New Issue