diff --git a/pelican/tools/templates/fabfile.py.in b/pelican/tools/templates/fabfile.py.in index ca0ab4f0..73c64ac8 100644 --- a/pelican/tools/templates/fabfile.py.in +++ b/pelican/tools/templates/fabfile.py.in @@ -6,9 +6,6 @@ import os env.deploy_path = 'output' DEPLOY_PATH = env.deploy_path -# Content path configuration -CONTENT_PATH = 'content/' - # Remote server configuration production = '$ssh_user@$ssh_host:$ssh_port' dest_path = '$ssh_target_dir' @@ -25,14 +22,14 @@ def clean(): local('mkdir {deploy_path}'.format(**env)) def build(): - local('pelican ' + CONTENT_PATH + ' -s pelicanconf.py') + local('pelican -s pelicanconf.py') def rebuild(): clean() build() def regenerate(): - local('pelican ' + CONTENT_PATH + ' -r -s pelicanconf.py') + local('pelican -r -s pelicanconf.py') def serve(): local('cd {deploy_path} && python -m SimpleHTTPServer'.format(**env)) diff --git a/pelican/tools/templates/pelicanconf.py.in b/pelican/tools/templates/pelicanconf.py.in index 5d96051d..959c4da2 100644 --- a/pelican/tools/templates/pelicanconf.py.in +++ b/pelican/tools/templates/pelicanconf.py.in @@ -6,6 +6,8 @@ AUTHOR = $author SITENAME = $sitename SITEURL = '' +PATH = 'content/' + TIMEZONE = 'Europe/Paris' DEFAULT_LANG = $lang