16 lines
323 B
Text
16 lines
323 B
Text
|
#!/usr/bin/env ruby
|
||
|
|
||
|
##
|
||
|
# Redirect from the root path to the surah index
|
||
|
# for a given locale (eg '/ -> /en', '/ -> /ar', etc)
|
||
|
|
||
|
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
|