Added lastmod tag for posts with dates attached.

if(isset($page['date'])){
	$xml .= '<lastmod>'.$page['date'].'</lastmod>';
}else{
	$xml .= '<lastmod/>';
}