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
|
* @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() {
|
public function getChangeFrequency() {
|
||||||
$date = date('Y-m-d H:i:s');
|
$date = date('Y-m-d H:i:s');
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<url>
|
<url>
|
||||||
<loc>$AbsoluteLink</loc>
|
<loc>$AbsoluteLink</loc>
|
||||||
<% if $LastEdited %><lastmod>$LastEdited.Format(c)</lastmod><% end_if %>
|
<% 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 %>
|
<% if $Priority %><priority>$Priority</priority><% end_if %>
|
||||||
</url>
|
</url>
|
||||||
<% end_loop %>
|
<% end_loop %>
|
||||||
|
|
Loading…
Reference in New Issue