forked from saurabh/orbit4-5
fixed a small bug in sitemap
This commit is contained in:
parent
788897deab
commit
cbd3a79122
|
@ -3,7 +3,7 @@
|
|||
<% @site_in_use_locales.each do |locale| %>
|
||||
<url>
|
||||
<loc><%= request.protocol + request.host_with_port + "/?locale=#{locale.to_s}"%></loc>
|
||||
<lastmod><%= @home.page_parts.desc(:updated_at).first.updated_at %></lastmod>
|
||||
<lastmod><%= (@home.page_parts.desc(:updated_at).first.updated_at rescue @home.updated_at) %></lastmod>
|
||||
<priority>0.5</priority>
|
||||
</url>
|
||||
<% end %>
|
||||
|
|
Loading…
Reference in New Issue