e1249e7b81
Add Farsi support
...
This change is a big one. It adds Farsi support,
which by itself is significant. In the process of
adding Farsi support other significant improvements
were made:
* Select.tsx component
* TLocale (Quran/index.ts)
* ...
2024-05-19 16:51:37 -03:00
eeaf48bca8
Add canonical and alternate link tags to all 'main' pages
2024-05-15 00:59:40 -03:00
2e6952eacc
Add SurahStream/
2024-05-14 16:07:57 -03:00
f06432b2ae
Update nanoc/rules/
2024-05-02 11:29:46 -03:00
4f282e12f2
Fix format offenses
2024-05-02 10:46:40 -03:00
0a2c75ecb3
Update Rules
2024-05-02 10:26:25 -03:00
4824d3cada
Add nanoc/ruledsl/require_rules.rb
2024-05-02 10:14:04 -03:00
c4593eac90
Add nanoc/ruledsl/filter.rb
2024-05-02 10:08:15 -03:00
6bec11a547
Add static JSON to .js files rather than .html files
2024-04-30 22:46:48 -03:00
0c05e5344c
Move postman.scss to /css/vendor/postman.scss
2024-04-30 00:28:52 -03:00
ddad2d5687
Update Rules
2024-04-29 10:40:00 -03:00
e740bad260
Add esbuild-loader, upgrade nanoc-webpack.rb
2024-04-25 20:36:34 -03:00
05ac909e80
Replace slugs.json with nameById.json
2024-03-16 21:31:06 -03:00
c95da7197c
Move top-level json files in src/ to src/json/
2024-03-15 15:06:16 -03:00
b99f104464
Set -upper => true
(tidy-html5)
2024-02-25 13:04:45 -03:00
1f6f039ba3
Add per-env webpack configuration files
2024-02-18 09:26:04 -03:00
74eae72495
Replace filters/tidy.rb
with nanoc-tidy.rb (rubygem)
2023-11-07 01:59:45 -03:00
c8613cf304
Minify recitations.json
2023-10-14 09:21:39 -03:00
1d641e7c71
Re-organize project files
...
Attempt to simplify the layout of project files.
2023-10-08 06:31:29 -03:00
a2fc33bb7c
Remove redirect from /en/1/ to /en/al-fatihah/
...
Rather than redirect /en/1/ to /en/al-fatihah/, render the surah
stream instead. A canonical `link` tag is included for the benefit
of search engines to differentiate between duplicates.
Preference is given to /en/al-fatihah/ over /en/1/.
2023-10-06 00:06:25 -03:00
edf7fdbd92
Minify reciters.json
2023-07-21 12:30:47 -03:00
23d1eeca2b
Add robots.txt
2023-07-17 16:48:12 -03:00
d62c12060e
Move "rules/" to "nanoc/rules/".
2023-07-17 07:19:43 -03:00
bd000760ea
webpackage.scss -> postman.scss
2023-07-11 20:14:58 -03:00
5748101c9a
Migrate to nanoc-gzip
2023-06-29 19:49:42 -03:00
919af86a65
rubocop'ing
2023-03-12 16:50:19 -03:00
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
3f3032dfcb
Add canonical link tag to id_redirect.html.erb
2023-03-11 16:04:21 -03:00
1ab56c61bf
Add src/sitemap.xml.erb
2023-03-11 16:04:21 -03:00
07812ffdaa
Add "inline_css" helper method
2023-03-11 10:45:12 -03:00
145d5a4399
Run rubocop -A
2023-03-11 09:31:37 -03:00
3bbe8cf165
Inline surahs.json, slugs.json, and i18n.json
2023-03-11 09:27:31 -03:00
914c918eaa
Add a simpler, more organized i18n.ts implementation
2023-03-11 08:35:49 -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
0073c76fbb
Add TheSurahIndex.tsx
...
TheSurahIndex.tsx provides a list of surahs (aka chapters) from
The Quran. Fix #2 .
2023-03-06 17:30:38 -03:00
29bc167fa0
Split 'Rules' file across multiple files
...
This change will hopefuly make it easier to scale the Rules file
over time. Rather than having one file with all rules, there are
multiple files that are categorized.
Ref #2
2023-03-01 22:04:50 -03:00
78a0146cf9
Generalize the CSS
2023-02-28 05:03:09 -03:00
25e5703e1a
Add random redirect from the paths /en, and /ar
...
When the theme logo is clicked, the user will be redirected
to a random surah and the current active language will remain
the same.
2023-01-09 05:15:18 -03:00
2c81c044f6
Upgrade to nanoc-webpack.rb v0.1.5
2023-01-08 06:23:05 -03:00
5c8247aedb
Add lib/slice.ts
2023-01-05 19:31:32 -03:00
431bde851c
Add Select component
...
The Select component renders a list, and provides more flexibility
in how the element is styled (compared to a regular "<select>").
2022-12-28 04:01:23 -03:00
f1e63d6132
Rules: change 'depend_on' patterns
2022-12-27 03:42:20 -03:00
b7d6c9262e
Rules: add a more precise compilation rule
2022-11-28 00:33:23 -03:00
955e0ef1e2
depend on version of nanoc-webpack.rb that supports dep tracking.
...
Related #24
2022-11-20 00:37:06 -03:00
8b01a5f575
redirect from index.html with one redirect rather than two.
...
Fix #41
2022-11-19 19:28:10 -03:00