]> git.bts.cx Git - garden.git/blobdiff - config.php
Initial release
[garden.git] / config.php
index 36a3931a64eac845acafb6a1821329aeadfc4c13..9ea6b10cc370b84fd5b57a4291a69531a1bfb0a5 100644 (file)
@@ -1,14 +1,27 @@
 <?php
 
-define('GARDEN_SITE_BASE_URL', 'https://bts.cx');
+// What is the URL of this website? (No trailing slash...)
+define('GARDEN_SITE_BASE_URL', 'http://localhost:8080');
 
+// Where is the markdown and other files that contain the content?
 define('GARDEN_CONTENT_DIR', garden_path(__DIR__, 'content'));
+
+// Where are the templates?
 define('GARDEN_TEMPLATE_DIR', garden_path(__DIR__, 'templates'));
 
+// Where do you want to write the website to?
 define('GARDEN_OUTPUT_DIR', garden_path(__DIR__, 'public'));
 
-
-
 // Put anything here you want the templates to be able to see...
+define('GARDEN_TEMPLATE_CONSTANTS', [
+       'site_name' => 'garden',
+       'site_language' => 'en',
+       'site_copyline' => 'Content &copy; Mr Fox',
+       'site_author' => 'Mr Fox',
+
+       'mastodon_link' => 'https://mastodon.website/@me',
+       'mastodon_handle' => '@me',
 
-define('site_name', 'bts.cx');
+       'itch_link' => 'https://itch.io',
+       'itch_handle' => '@???.itch.io',
+]);