From 0a3f8eac313dd1076b243b1a71dae84ee35c4274 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Sun, 12 Mar 2023 16:58:58 -0300 Subject: [PATCH] Follow up to 468613e19370ee0d4c3d1aadc402198c6fae22bd --- src/sitemap.xml.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 %>