It will never add the comments you put on the page now.
A sitemap-alike solution that displays the pagename and the timestamp could be done using a droplet.
<?php
global $database;
if (!isset($limit)) $limit=15;
$returnValue = "<ul>";
// query database
$result = $database->query("SELECT * FROM " . TABLE_PREFIX . "pages WHERE visibility = 'public' ORDER BY modified_when DESC LIMIT 0 , $limit");
if ($result && $result->numRows() > 0) {
while($page = $result->fetchRow()){
$ptitle = $page['page_title'];
$lastchange = date("d-m-y, H:i", $page['modified_when']);
$url = WB_URL.PAGES_DIRECTORY.$page['link'].PAGE_EXTENSION;
$returnValue .= '<li><a href="'.$url.'">'.$ptitle.'</a> ('.$lastchange.')</li>';
}
}
$returnValue .= '</ul>';
return $returnValue;
Put that code in a new created droplet and call it something like "lastmodified".
In a normal (WYSIWYG) page just add [[lastmodified?limit=25]]
It should show the last 25 modified pages.