lib/nanoc/cli/commands/create-site.rb in nanoc-3.6.9 vs lib/nanoc/cli/commands/create-site.rb in nanoc-3.6.10
- old
+ new
@@ -82,9 +82,12 @@
# turned on, only the characters past the last period are considered to
# be the extension. For example, a file named “content/about.html.erb”
# will have the identifier “/about/” when turned off, but when turned on
# it will become “/about.html/” instead.
allow_periods_in_identifiers: false
+
+ # The default encoding for all files in `content/` and `layouts/`.
+ encoding: utf-8
EOS
DEFAULT_RULES = <<EOS unless defined? DEFAULT_RULES
#!/usr/bin/env ruby