Reference

$site->modified()

Gets the last modification date of all pages in the content folder.

$site->modified(string $format = null, string $handler = null): mixed

Parameters

Name Type Default Description
$format string null
$handler string null

Return type

mixed

Example

Last update: <?= $site->modified('d/m/Y H:i') ?>

Source code

kirby/src/Cms/Site.php#L361