-
Notifications
You must be signed in to change notification settings - Fork 11
/
config_sample.php
31 lines (26 loc) · 1.26 KB
/
config_sample.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<?php
declare(strict_types=1);
return [
/****************************************************************************************
* Librarian main config
* Values set here will overwrite default configuration from the /config dir.
*****************************************************************************************/
// Site Information
'site_name' => envconfig('SITE_NAME', 'Librarian'),
'site_author' => envconfig('SITE_AUTHOR', '@erikaheidi'),
'site_description' => envconfig('SITE_DESC', 'Librarian is a static site generator inspired by Hugo and built in PHP.'),
'site_url' => envconfig('SITE_URL', 'http://localhost:8000'),
'site_root' => envconfig('SITE_ROOT', '/'),
'site_about' => envconfig('SITE_ABOUT', 'page/about'),
// Set site_index if you want a custom index page
//'site_index' => 'getting-started/introduction',
'posts_per_page' => 10,
// Optional: Social links that show up on the top right
'social_links' => [
'Twitter' => envconfig('LINK_TWITTER'),
'Github' => envconfig('LINK_GITHUB', 'https://github.com/minicli/librarian'),
'YouTube' => envconfig('LINK_YOUTUBE'),
'LinkedIn' => envconfig('LINK_LINKEDIN'),
'Twitch' => envconfig('LINK_TWITCH'),
],
];