al-quran.reflectslight.io/nanoc.yaml
0x1eef fea1d737f2 Add server.base_url, audio.base_url
With this change the website can be hosted on
any domain (up to being entirely independent of
al-quran.reflectslight.io) by configuring a
couple of variables.
2024-06-02 03:11:48 -03:00

32 lines
884 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
lib_dirs: ['nanoc/lib', 'nanoc/ruledsl']
output_dir: build/al-quran/
data_sources:
- type: filesystem
encoding: UTF-8
content_dir: src/
layouts_dir: src/layouts
audio:
base_url: https://al-quran.reflectslight.io/audio/alafasy
server:
base_url: https://al-quran.reflectslight.io
unix:
path: /tmp/al-quran.reflectslight.io
tcp:
host: 127.0.0.1
port: 7777