]> git.bts.cx Git - garden.git/blob - config.php
Better configuration
[garden.git] / config.php
1 <?php
2
3 // What is the URL of this website? (No trailing slash...)
4 define('GARDEN_SITE_BASE_URL', 'http://localhost:8080');
5
6 // Where is the markdown and other files that contain the content?
7 define('GARDEN_CONTENT_DIR', garden_path(__DIR__, 'content'));
8
9 // Where are the templates?
10 define('GARDEN_TEMPLATE_DIR', garden_path(__DIR__, 'templates'));
11
12 // Where do you want to write the website to?
13 define('GARDEN_OUTPUT_DIR', garden_path(__DIR__, 'public'));
14
15 // Filename for the Atom feed
16 define('GARDEN_ATOM_FEED_FILENAME', 'feed.atom');
17
18 // Filename for the JSON feed
19 define('GARDEN_JSON_FEED_FILENAME', 'feed.json');
20
21 // Put anything here you want the templates to be able to see...
22 define('GARDEN_TEMPLATE_CONSTANTS', [
23         'site_name' => 'garden',
24         'site_language' => 'en',
25         'site_copyline' => 'Content &copy; Mr Fox',
26         'site_author' => 'Mr Fox',
27
28         'mastodon_link' => 'https://mastodon.website/@me',
29         'mastodon_handle' => '@me',
30
31         'itch_link' => 'https://itch.io',
32         'itch_handle' => '@???.itch.io',
33
34         'sidebar_links' => [
35                 [ 'text' => 'git', 'url' => 'https://git-scm.com/' ],
36         ],
37 ]);