0x1eef
25e5703e1a
When the theme logo is clicked, the user will be redirected to a random surah and the current active language will remain the same.
12 lines
305 B
Text
12 lines
305 B
Text
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Al-Quran: Redirect</title>
|
|
</head>
|
|
<body>
|
|
<script class="surah-id-to-slug" type="application/json">
|
|
<%= File.read(File.join(Dir.getwd, "src", "slugs.json")) %>
|
|
</script>
|
|
<script src="/js/pages/RandomRedirect.js"></script>
|
|
</body>
|
|
</html>
|