Exemple #1
0
    $base_dir = '/path/to/continental';
    $content_dir = '/home/blog/Dropbox/blog';
    $shared_dir = '/path/to/continental/shared';
    # /shared is part of capistrano deploy
} else {
    $base_dir = $_SERVER['HOME'] . '/Sites/continental';
    $content_dir = $base_dir . '/content';
    $shared_dir = $base_dir;
}
// Paths
Updater::$source_path = $content_dir;
Template::$template_dir = $base_dir . '/resources/templates';
Updater::$dest_path = $shared_dir . '/www';
Updater::$blog_path = $shared_dir . '/www';
// Set to same as $dest_path for your blog index at `yoursite.com`; else set it to `dir/blog`
Updater::$cache_path = $base_dir . '/cache';
Updater::$hook_path = $base_dir . '/engine';
Updater::$post_extension = '.md';
// Blog metadata
Post::$blog_title = 'My Blog';
Post::$blog_url = 'http://www.mydomain.com/';
Post::$blog_description = 'I\'m a blogger.';
Post::$blog_uri = '';
// Keep blank if you want your blog index at `yoursite.com`. For `yoursite.com/blog/` set it to `/blog`
Post::$author = 'Nick Wynja';
// Settings
Post::$create_short_url = false;
//Turn to `true` to roll your own shorter/cleaner URLs. Uses short domain and slug
Post::$short_url_redirect_file = '/home/blog/short_co/.htaccess';
//Full local path
Post::$short_url_domain = 'short.co/';