This commit is contained in:
0x1eef 2023-03-12 16:58:58 -03:00
parent f561df8bea
commit 0a3f8eac31

View file

@ -11,14 +11,14 @@
href="https://al-quran.reflectslight.io/<%= locale %>/"/> href="https://al-quran.reflectslight.io/<%= locale %>/"/>
<% end %> <% end %>
</url> </url>
<% Ryo.each(surah_id_to_name) do |_id, name| %> <% Ryo.each(slugs) do |_id, slug| %>
<url> <url>
<loc>https://al-quran.reflectslight.io/<%= locale %>/<%= name %>/</loc> <loc>https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/</loc>
<% locales.each do |locale| %> <% locales.each do |locale| %>
<xhtml:link <xhtml:link
rel="alternate" rel="alternate"
hreflang="<%= locale %>" hreflang="<%= locale %>"
href="https://al-quran.reflectslight.io/<%= locale %>/<%= name %>/"/> href="https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/"/>
<% end %> <% end %>
</url> </url>
<% end %> <% end %>