-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathglobals.php
More file actions
26 lines (18 loc) · 719 Bytes
/
globals.php
File metadata and controls
26 lines (18 loc) · 719 Bytes
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
<?php
/* Directories */
define('ROOT_DIR', realpath(dirname(__FILE__)) .'/');
define('CONTENT_DIR', ROOT_DIR .'blog/');
define('PAGES_DIR', ROOT_DIR .'pages/');
define('LIB_DIR', ROOT_DIR .'lib/');
define('CLASS_DIR', ROOT_DIR .'class/');
/* Requirements */
require LIB_DIR."Parsedown.php";
require CLASS_DIR."post.php";
/* Constants */
define('POST_PER_PAGE', 2); // how many posts to display per page
define('TITLE',"Your Blog"); // the title of your blog
define('URL',"yoururl.com"); // your website url/title for the browser
define('DESCRIPTION',"Your description"); // a description for the website (header)
// ABOUT SIDEBAR
define('ABOUT',"Your about <b>sidebar</b>. You can put HTML!");
?>