diff --git a/src/sitemap.xml.erb b/src/sitemap.xml.erb index c44f42e..1c76b3e 100644 --- a/src/sitemap.xml.erb +++ b/src/sitemap.xml.erb @@ -11,14 +11,14 @@ href="https://al-quran.reflectslight.io/<%= locale %>/"/> <% end %> - <% Ryo.each(surah_id_to_name) do |_id, name| %> + <% Ryo.each(slugs) do |_id, slug| %> - https://al-quran.reflectslight.io/<%= locale %>/<%= name %>/ + https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/ <% locales.each do |locale| %> + href="https://al-quran.reflectslight.io/<%= locale %>/<%= slug %>/"/> <% end %> <% end %>