This repository has been archived by the owner on Dec 27, 2018. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f307c6e
commit 5981f7b
Showing
1 changed file
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
# Options | ||
|
||
PHP array of options used to define how to build the website. | ||
|
||
## Default options | ||
|
||
```php | ||
[ | ||
'site' => [ | ||
'title' => 'PHPoole', // site title | ||
'baseline' => 'A PHPoole website', // site baseline | ||
'baseurl' => 'http://localhost:8000/', // php -S localhost:8000 -t _site/ >/dev/null | ||
'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.', // site description | ||
'taxonomies' => [ // list of taxonomies | ||
'tags' => 'tag', // tag vocabulary | ||
'categories' => 'category', // category vocabulary | ||
], | ||
'paginate' => [ // pagination options | ||
'max' => 5, // maximum numbers of listed pages | ||
'path' => 'page', // ie: section/page/2 | ||
], | ||
], | ||
'content' => [ | ||
'dir' => 'content', // content directory (from source) | ||
'ext' => 'md', // file extension (*.md) | ||
], | ||
'frontmatter' => [ | ||
'format' => 'yaml', // yaml or ini | ||
], | ||
'body' => [ | ||
'format' => 'md', // body format, Markdown by default | ||
], | ||
'static' => [ | ||
'dir' => 'static', // static files directory | ||
], | ||
'layouts' => [ | ||
'dir' => 'layouts', // layouts/templates files directory | ||
], | ||
'output' => [ | ||
'dir' => '_site', // output directory | ||
'filename' => 'index.html', // default filename of generated files | ||
], | ||
'themes' => [ | ||
'dir' => 'themes', // themes directory | ||
], | ||
] | ||
``` |