cartodb-4.42/app/views/admin/pages/sitemap.xml.builder

10 lines
222 B
Plaintext
Raw Normal View History

2024-04-06 13:25:13 +08:00
# app/views/sitemaps/index.xml.builder
xml.urlset(xmlns: "http://www.sitemaps.org/schemas/sitemap/0.9") do
@urls.each do |path|
xml.url do
xml.loc path[:loc]
xml.lastmod path[:lastfreq]
end
end
end