al-quran.reflectslight.io/rules/pages/surah/redirect.rules

16 lines
317 B
Text
Raw Normal View History

2023-03-10 09:49:48 +01:00
#!/usr/bin/env ruby
2023-03-10 14:51:34 +01:00
##
2023-03-10 14:41:19 +01:00
# Rules for a redirect from the root path to the surah index for a given locale
# (eg / -> /en/)
2023-03-10 09:49:48 +01:00
compile "/html/pages/surah/redirect.html.erb" do
filter(:erb)
write("/index.html")
end
compile "/js/pages/surah/redirect.ts" do
filter(:webpack)
write("/js/pages/surah/redirect.js")
end