Fix nanoc/rules/
This commit is contained in:
parent
f06432b2ae
commit
1452119439
5 changed files with 5 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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|
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue