-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
Sebastian Kolind Sørensen edited this page Feb 1, 2021
·
4 revisions
Volcano can be configured with a simple set of settings. There might be more configuration options as Volcano grows, but for now these are the available options.
If you're missing a certain configuration option feel free to submit a PR. The configuration options are located in the Volcano.php
stored under private array $configuration = [ ... ]
.
The default options are the ones set for each option below.
<?php
use Volcano\Volcano;
$app = new Volcano([
# Paths
# All the paths that Volcano use to determine where the Theme and Pages, Posts and Templates is located.
'paths' => [
# Path to where pages are located.
'pages' => 'site/pages',
# Path to where pages are located.
'posts' => 'site/posts',
# Path to where your theme is located.
'theme' => 'site/theme',
# Path to where your templates are located.
'templates' => 'site/templates',
]
])