Merge bf4c78d21205f6bbe45fb9c468d98f5c3d5893d8 into 46ea06a4c3dad6ad8db8230993245cdf34cd68a7

This commit is contained in:
Michele Palmieri 2016-04-03 15:39:25 +00:00
commit 13dcf2cdcc

View File

@ -25,11 +25,11 @@ class pluginSitemap extends Plugin {
// Create url, loc and lastmod elements
$url = $doc->createElement('url');
$loc = $doc->createElement('loc', $Site->url());
$lastmod = $doc->createElement('lastmod', '');
//$lastmod = $doc->createElement('lastmod', '');
// Append loc and lastmod -> url
$url->appendChild($loc);
$url->appendChild($lastmod);
//$url->appendChild($lastmod);
// Append url -> urlset
$urlset->appendChild($url);
@ -147,4 +147,4 @@ class pluginSitemap extends Plugin {
}
}
}
}