Commit graph

97 commits

Author SHA1 Message Date
0e5b8db6bf Group locals onto 'context' 2024-08-13 16:59:59 -03:00
257b057d4b Replace opengraph.rb with _opengraph.html.erb 2024-08-12 19:11:28 -03:00
64763ade01 Remove Ruby sass dependency from 'postman.css' 2024-07-22 23:50:29 -03:00
f83f83a08c Replace ruby sass with nodejs sass 2024-07-22 23:06:52 -03:00
45723a3ddc Fix example in API docs 2024-06-22 19:21:16 -03:00
f939b2cc41 Update docs 2024-06-22 14:29:28 -03:00
7cd6e81af9 Add Utils#error! 2024-06-22 02:24:49 -03:00
a7e413310c Require git to exit successfully in Utils#commit 2024-06-22 02:01:18 -03:00
b6a7ae3ee6 Remove unused method (inline_json) 2024-06-22 01:40:56 -03:00
3c02acab4c Fallback on 'version' in case git fails 2024-06-22 01:18:18 -03:00
03c21f45c7 Rename rules/ files
index.rules  => surah-index.rules
stream.rules => surah-stream.rules
2024-06-22 00:17:50 -03:00
c0c3d7b8ec include Utils in Rakefile.rb 2024-06-21 23:55:16 -03:00
b60cc0a075 Update docs 2024-06-21 23:46:15 -03:00
3f910de546 Repurpose mixin.rb as utils.rb 2024-06-21 23:43:31 -03:00
7ea3033615 Add Nanoc::Extension::* 2024-06-21 22:45:31 -03:00
7c5fccce20 Add docs 2024-06-21 21:47:20 -03:00
7442884594 Return an absolute path from dirs.build 2024-06-21 19:10:16 -03:00
51e507e649 Update mixin.rb 2024-06-21 19:04:17 -03:00
29993663d7 Add ability to cache-bust opengraph images 2024-06-21 06:14:23 -03:00
17c7256ffa Update ryo.rb 2024-06-20 17:34:33 -03:00
982a64225f Apply 'exe' option to the correct filter 2024-06-16 00:04:09 -03:00
a827823bd3 Run "rubocop -A" 2024-06-14 23:35:29 -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
e939473c0d Gzip /css/main/ 2024-06-09 01:18:08 -03:00
82c39f90a6 Gzip loaders, main scripts 2024-06-09 01:08:31 -03:00
fea1d737f2 Add server.base_url, audio.base_url
With this change the website can be hosted on
any domain (up to being entirely independent of
al-quran.reflectslight.io) by configuring a
couple of variables.
2024-06-02 03:11:48 -03:00
4b041571f3 Update {random,surah-index,surah-stream}.html.erb
Add dir attribute
2024-05-29 03:14:35 -03:00
efbd0299f9 Replace single quotes with double quotes 2024-05-26 02:56:50 -03:00
76bb19e3ac Fix opengraph.rb 2024-05-25 23:18:41 -03:00
09365dd283 Add opengraph to /<locale>/random/ 2024-05-25 23:12:42 -03:00
5b10986d22 Update opengraph.rb 2024-05-25 23:08:37 -03:00
f9282c1345 Replace hard-coded references with 'server.hostname' 2024-05-25 22:34:55 -03:00
62898d4908 v0.8.3 2024-05-25 03:18:48 -03:00
f687a99a7b Try avoid random build failure with postman.scss 2024-05-25 03:03:24 -03:00
52e8403bb7 Reduce "revision" to commit sha 2024-05-25 01:01:31 -03:00
1673fd2cf4 Add 'revision' meta tag
See https://github.com/krallin/meta-revision
2024-05-25 00:53:15 -03:00
4d5ddcbfe0 Shorten opengraph description
Shorten the opengraph description to be just
the surah's name. The page's meta description
remains the same.
2024-05-19 18:01:16 -03:00
d299621488 Add opengraph to root path
Default to the canonical (/en/) for the
title, description, and images.
2024-05-16 17:02:35 -03:00
eeaf48bca8 Add canonical and alternate link tags to all 'main' pages 2024-05-15 00:59:40 -03:00
fe32825e2b src/html/*.html.erb => src/html/main/*.html.erb 2024-05-15 00:35:45 -03:00
82cb7e81e0 Populate surah via info.json 2024-05-14 23:09:31 -03:00
7908b7f2a3 Update nanoc/rules/ 2024-05-03 21:28:26 -03:00
1452119439 Fix nanoc/rules/ 2024-05-02 11:56:23 -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
f5bbeede07 Move nanoc/ruledsl/ to nanoc/lib/nanoc/ruledsl/ 2024-05-02 10:21:11 -03:00
4ea80a9476 Add RequireRules docs 2024-05-02 10:18:21 -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