bug fix for #768
This commit is contained in:
parent
d62e19707b
commit
f0895796cd
|
@ -48,7 +48,7 @@ class pluginSitemap extends Plugin {
|
||||||
$page = new Page($pageKey);
|
$page = new Page($pageKey);
|
||||||
$xml .= '<url>';
|
$xml .= '<url>';
|
||||||
$xml .= '<loc>'.$page->permalink().'</loc>';
|
$xml .= '<loc>'.$page->permalink().'</loc>';
|
||||||
$xml .= '<lastmod>'.$page->dateRaw(SITEMAP_DATE_FORMAT).'</lastmod>';
|
$xml .= '<lastmod>'.$page->date(SITEMAP_DATE_FORMAT).'</lastmod>';
|
||||||
$xml .= '<changefreq>daily</changefreq>';
|
$xml .= '<changefreq>daily</changefreq>';
|
||||||
$xml .= '</url>';
|
$xml .= '</url>';
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
|
|
Loading…
Reference in New Issue