mirror of
https://github.com/discourse/discourse.git
synced 2024-11-26 07:23:40 +08:00
10 lines
350 B
Plaintext
10 lines
350 B
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
|
||
|
<% @sitemaps.each do |sitemap| %>
|
||
|
<sitemap>
|
||
|
<loc><%= Discourse.base_url %>/sitemap_<%= sitemap.name %>.xml</loc>
|
||
|
<lastmod><%= sitemap.last_posted_at.xmlschema %></lastmod>
|
||
|
</sitemap>
|
||
|
<% end %>
|
||
|
</sitemapindex>
|