From 68d5ff5a52e618740e5defc59fa39c3f398bc2d1 Mon Sep 17 00:00:00 2001 From: dignajar Date: Sun, 3 Apr 2016 19:20:24 -0300 Subject: [PATCH] Sitemap updates --- bl-kernel/boot/init.php | 8 ++++---- bl-plugins/sitemap/plugin.php | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bl-kernel/boot/init.php b/bl-kernel/boot/init.php index b3d46676..8f40ae4b 100644 --- a/bl-kernel/boot/init.php +++ b/bl-kernel/boot/init.php @@ -1,10 +1,10 @@ createElement('url'); $loc = $doc->createElement('loc', $Site->url()); - $lastmod = $doc->createElement('lastmod', ''); + $lastmod = $doc->createElement('lastmod', Date::current(SITEMAP_DATE_FORMAT)); // Append loc and lastmod -> url $url->appendChild($loc);