al-quran.reflectslight.io/nanoc.yaml
0x1eef 516cbc5594 Rules: compress surah.json for surahs greater than 10KB in size
This change will compress surah.json for surahs that are greater than
10KB in size.
2022-11-12 15:28:20 -03:00

27 lines
750 B
YAML

# A list of file extensions that Nanoc will consider to be textual rather than
# binary. If an item with an extension not in this list is found, the file
# will be considered as binary.
text_extensions: [
'adoc', 'asciidoc', 'atom', 'coffee', 'css', 'erb', 'haml',
'handlebars', 'hb', 'htm', 'html', 'js', 'less', 'markdown',
'md', 'ms', 'mustache', 'php', 'rb', 'rdoc', 'sass', 'scss',
'slim', 'tex', 'txt', 'xhtml', 'xml', 'ts', 'tsx', 'json'
]
prune:
auto_prune: true
output_dir: build/al-quran/
data_sources:
- type: filesystem
encoding: UTF-8
content_dir: src/
layouts_dir: src/layouts
deploy:
local:
user: www
group: www
src: build/al-quran/.
dest: /var/www/htdocs/al-quran.0x1eef.test/