Update Rules
This commit is contained in:
parent
7ea3033615
commit
c34ba4d0a6
1 changed files with 2 additions and 2 deletions
4
Rules
4
Rules
|
@ -11,7 +11,7 @@ require "nanoc-webpack"
|
|||
require "nanoc-tidy"
|
||||
|
||||
##
|
||||
# Configuration
|
||||
# Locals
|
||||
locales = %w[ar fa en]
|
||||
json_dir = File.join(Dir.getwd, "src", "json")
|
||||
name_by_id = Ryo.from_json(path: File.join(json_dir, "nameById.json"))
|
||||
|
@ -60,7 +60,7 @@ end
|
|||
passthrough "/json/durations/*.json"
|
||||
|
||||
##
|
||||
# Require rules
|
||||
# Rules
|
||||
require_rules "nanoc/rules/assets"
|
||||
require_rules "nanoc/rules/redirect", {locales:, tidy:}
|
||||
require_rules "nanoc/rules/random", {locales:, tdata:, tidy:}
|
||||
|
|
Loading…
Reference in a new issue