# Strange configuration file
site:
# The title of the site. It will be used in the
and possibly in some plugins
title: Strange docs
# The URL of the website. Do not append "/index.html" at the end.
url: http://example.net
# A short description of the website
description: Static site manager. In Rust.
# Whether to create index pages automatically (experimental)
indexes: false
pages:
# If set to true, automatically prepend date to pages' filename, like `strange new -d`. Default: `false`
date: false
# If set to true, automatically prepend time to pages' filename, like `strange new -dt`. Default: `false`
time: false
# The author name to use if it's not defined in the pages' metadata. Default: `Unknown`
author: Alessandro Pellizzari
paths:
# Sets the path to the folder containing source files. Default: `src`
src: src
# Sets the path to the destination where pages will be built files. Default: `build`
dest: build
# Sets the path to the folder containing the downloaded themes. Default: `themes`
themes: themes
serve:
# Sets the IP address on which the `strange serve` command will start a webserver. Default: `127.0.0.1`
ip: 127.0.0.1
# Sets the port on which the webserver will listen
port: 9876
# Theme configuration (experimental)
theme:
# The name of the theme to use. You can have multiple themes downloaded in `themes`. Default: `default`
name: strange-docs
# The directory that will be created inside the destination (`paths.dest`) to contain the compiled theme files. Default: `theme`
dest: theme
# Optional theme configurations. Default: empty
options:
{}
# Data that will be passed to the javascript parts of the compiled theme (e.g.: menu layout). Default: empty
data:
{}
plugins:
data:
dir: data
rss:
enabled: false
filename: rss.xml
num: 10