Fix nanoc/rules/

This commit is contained in:
0x1eef 2024-05-02 11:56:23 -03:00
parent f06432b2ae
commit 1452119439
5 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Contains rules for images, fonts, etc
# contains rules for images, fonts, etc
##
# fonts

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Contains rules for the surah index available at /<locale>/
# contains rules for the surah index available at /<locale>/
locales.each do |locale|
compile "/html/index.html.erb", rep: "/#{locale}/surah/index" do

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Contains rules for a redirect from /<locale>/random/ to a
# contains rules for a redirect from /<locale>/random/ to a
# random surah (eg /en/random/ -> /en/al-kahf/)
locales.each do |locale|

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Contains rules for a redirect from the root path
# contains rules for a redirect from the root path
# to the surah index for a given locale (eg / -> /en/)
compile "/html/redirect.html.erb" do

View file

@ -1,6 +1,6 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
# Contains rules for the the surah stream available
# contains rules for the the surah stream available
# at /<locale>/<name>/, /<locale>/<id>/
compile "/json/*/*/surah.json" do