Merge bf4c78d21205f6bbe45fb9c468d98f5c3d5893d8 into 46ea06a4c3dad6ad8db8230993245cdf34cd68a7
This commit is contained in:
commit
13dcf2cdcc
@ -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 {
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user