65dbae91c3
Add /etc
2024-08-22 16:12:41 -03:00
0e5b8db6bf
Group locals onto 'context'
2024-08-13 16:59:59 -03:00
64763ade01
Remove Ruby sass dependency from 'postman.css'
2024-07-22 23:50:29 -03:00
cfaff60c7b
Fix default_argv of Nanoc::Tidy
2024-06-22 01:06:21 -03:00
03c21f45c7
Rename rules/ files
...
index.rules => surah-index.rules
stream.rules => surah-stream.rules
2024-06-22 00:17:50 -03:00
68617f3e9a
Fix typos
2024-06-22 00:13:26 -03:00
3f910de546
Repurpose mixin.rb as utils.rb
2024-06-21 23:43:31 -03:00
7530169fa3
Mix Mixin
into Rules
2024-06-21 23:27:45 -03:00
c34ba4d0a6
Update Rules
2024-06-21 23:03:51 -03:00
7ea3033615
Add Nanoc::Extension::*
2024-06-21 22:45:31 -03:00
17c7256ffa
Update ryo.rb
2024-06-20 17:34:33 -03:00
3d56ecb00e
Update nanoc.rake
...
Keep compile step within one process
2024-06-19 18:31:23 -03:00
76c131f2a7
Chomp path to tidy
2024-06-14 23:32:55 -03:00
0e7f223fe0
Try fix CI
2024-06-14 23:31:39 -03:00
3b6fe3592a
Update nanoc-webpack.rb
2024-06-14 17:12:39 -03:00
c8018ff7f0
Determine Timer.tsx duration from MP3, otherwise default on fallback
...
This change repurposes /json/durations/alafasy/<id>.json as
/json/durations/<id>.json. A file from /json/durations/ is
used by Timer.tsx when sound is disabled. Otherwise the
duration is taken from an MP3.
This change facilitates changing the recitation author
without needing to provide a JSON file that described the
duration of each MP3.
2024-06-07 15:10:57 -03:00
4b041571f3
Update {random,surah-index,surah-stream}.html.erb
...
Add dir attribute
2024-05-29 03:14:35 -03:00
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