5.1 KiB
title | permalink |
---|---|
Configuration Options | /docs/configuration/options/ |
The tables below list the available settings for Jekyll, and the various options
(specified in the configuration file) and flags
(specified on the command-line) that control them.
Global Configuration
Setting | Options and Flags |
---|---|
{{ setting.name }} {% if setting.version-badge %} {{ setting.version-badge }} {% endif %} {{ setting.description }} |
|
Defaults Set defaults for front matter variables. |
see below |
Destination folders are cleaned on site builds
The contents of <destination>
are automatically
cleaned, by default, when the site is built. Files or folders that are not
created by your site will be removed. Some files could be retained
by specifying them within the <keep_files>
configuration directive.
Do not use an important location for <destination>
; instead, use it as
a staging area and copy files from there to your web server.
Build Command Options
Setting | Options and Flags |
---|---|
{{ setting.name }} {% if setting.version-badge %} {{ setting.version-badge }} {% endif %} {{ setting.description }} |
{% if setting.option %}
|
Serve Command Options
In addition to the options below, the serve
sub-command can accept any of the options
for the build
sub-command, which are then applied to the site build which occurs right
before your site is served.
Setting | Options and Flags |
---|---|
{{ setting.name }} {% if setting.version-badge %} {{ setting.version-badge }} {% endif %} {{ setting.description }} |
{% if setting.option %}
{% for option in setting.options %}
{% for flag in setting.flags %}
|
Do not use tabs in configuration files
This will either lead to parsing errors, or Jekyll will revert to the default settings. Use spaces instead.