mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
FIX: fix change freq not showing up in form. (Fixes: #27)
This commit is contained in:
parent
706c06e8a0
commit
f41fd87624
@ -105,7 +105,7 @@ class GoogleSitemapSiteTreeDecorator extends DataExtension {
|
||||
*
|
||||
* @see http://support.google.com/webmasters/bin/answer.py?hl=en&answer=183668&topic=8476&ctx=topic
|
||||
*
|
||||
* @return void
|
||||
* @return SS_Datetime
|
||||
*/
|
||||
public function getChangeFrequency() {
|
||||
$date = date('Y-m-d H:i:s');
|
||||
|
@ -5,7 +5,7 @@
|
||||
<url>
|
||||
<loc>$AbsoluteLink</loc>
|
||||
<% if $LastEdited %><lastmod>$LastEdited.Format(c)</lastmod><% end_if %>
|
||||
<% if $ChangeFreq %><changefreq>$ChangeFreq</changefreq><% end_if %>
|
||||
<% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
|
||||
<% if $Priority %><priority>$Priority</priority><% end_if %>
|
||||
</url>
|
||||
<% end_loop %>
|
||||
|
Loading…
Reference in New Issue
Block a user