Commit graph

16 commits

Author SHA1 Message Date
468613e193 Rename "surah_id_to_name" to "slugs"
Fix #106
2023-03-12 16:46:11 -03:00
5f957af84c Set document title at compile time
This change will hopefully make it easier for search engines to
pick up a page's title.
2023-03-12 11:23:48 -03:00
c1d23f27c7 Re-implement id_redirect.ts without a JS redirect 2023-03-11 16:04:21 -03:00
3f3032dfcb Add canonical link tag to id_redirect.html.erb 2023-03-11 16:04:21 -03:00
549e7ef905 rubocop'ing 2023-03-11 14:31:44 -03:00
3bbe8cf165 Inline surahs.json, slugs.json, and i18n.json 2023-03-11 09:27:31 -03:00
ce2a5d68bf Fix bug: generate /en/1/index.html
id_redirect.rules didn't scope the rule by locale, and because
of that /ar/X/index.html was generated but not /en/X/index.html
2023-03-11 09:26:35 -03:00
a58c94e782 rules/: update 2023-03-10 10:51:55 -03:00
a5cd792d71 rules/: update 2023-03-10 10:41:44 -03:00
9203553cd9 rules/: update comments 2023-03-10 09:10:59 -03:00
8aaab06170 rules/: update comments 2023-03-10 08:16:41 -03:00
9fef5122eb Add surah/id_redirect 2023-03-10 07:48:47 -03:00
2dfadcb937 Add surah/random 2023-03-10 07:39:03 -03:00
20b7420ac9 Replace TheSurahPage with surah/stream 2023-03-10 06:47:35 -03:00
eac53f8da1 Add surah/redirect 2023-03-10 06:13:49 -03:00
d8b63e4fd0 Replace TheSurahIndex with surah/index 2023-03-10 06:13:49 -03:00