616f5d6073
add "WebPackage"
...
The "WebPackage" object allows for scripts, stylesheets, fonts, images
and other webpage assets to be downloaded for the page's primary content
to use afterwards.
2022-11-18 17:09:32 -03:00
b7410acc07
filters/webpack: remove "exe" option.
...
Fix #37
2022-11-18 00:41:28 -03:00
516cbc5594
Rules: compress surah.json for surahs greater than 10KB in size
...
This change will compress surah.json for surahs that are greater than
10KB in size.
2022-11-12 15:28:20 -03:00
a2c9e774af
replace lib/filters/gzip.rb with nanoc-gunzip.rb
2022-11-12 14:15:06 -03:00
7c42805787
lib/filters/gzip.rb: compress fonts, images, and javascript
2022-11-11 07:47:57 -03:00
296aa9a165
src/: add src/js/pages/redirect-to-surah-slug.ts
2022-11-06 06:55:13 -03:00
e31fac44bb
src/: add src/js/pages/redirect-to-random-surah.ts
2022-11-06 06:55:13 -03:00
520c141d56
rename src/html/ files
...
* `src/html/surah.html.erb` -> `src/html/TheSurahPage.html.erb`
* `src/html/random_redirect.html` -> `src/html/redirect-to-random-surah.html`
* `src/html/slug_redirect.html.erb` -> `src/html/redirect-to-surah-slug.html.erb`
2022-11-06 06:53:30 -03:00
817b1305ac
Rules: update
2022-11-05 21:46:23 -03:00
2926183932
move html & erb files to src/html/
2022-11-05 21:46:23 -03:00
d00b8277a3
redirect from /<locale>/<surah-id>/ to /<locale>/<surah-slug>/
...
This change will trigger redirects from - for example, "/en/1/"
to "/en/al-fatihah".
2022-11-05 19:49:11 -03:00
fc070c01b8
Ruby: fix linter errors
2022-11-02 00:53:00 -03:00
cbcb909ced
Rules: fix comment
2022-11-01 22:37:25 -03:00
d948a12453
add nanoc-related files
2022-10-31 15:36:17 -03:00