al-quran.reflectslight.io/src/sitemap.xml.erb

27 lines
804 B
Text
Raw Normal View History

2023-03-11 17:11:10 +01:00
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<% locales.each do |locale| %>
<url>
<loc>https://al-quran.reflectslight.io/<%= locale %>/</loc>
<% locales.each do |locale| %>
<xhtml:link
rel="alternate"
hreflang="<%= locale %>"
href="https://al-quran.reflectslight.io/<%= locale %>/"/>
<% end %>
</url>
<% Ryo.each(slugs) do |_id, slug| %>
2023-03-11 17:11:10 +01:00
<url>
<loc>https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/</loc>
2023-03-11 17:11:10 +01:00
<% locales.each do |locale| %>
<xhtml:link
rel="alternate"
hreflang="<%= locale %>"
href="https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/"/>
2023-03-11 17:11:10 +01:00
<% end %>
</url>
<% end %>
<% end %>
</urlset>