This process streamlines the creation of new configurations. Creating a new
site will choke if not all the correct options are given.
Configuration.from will ensure the overrides have all string keys and
ensures all the common issues & defaults are in place so a Site can be
created.
A common use:
config = Configuration.from({ 'permalink' => '/:title/' }) # etc
site = Jekyll::Site.new(config)
|
||
|---|---|---|
| .. | ||
| jekyll | ||
| site_template | ||
| theme_template | ||
| jekyll.rb | ||