forked from github/pelican
Use OUTPUT_PATH setting in Invoke tasks.py template
The default setting for OUTPUT_PATH is already 'output', so it would be more DRY to use the existing default value instead of a hardcoded 'output' string.
This commit is contained in:
parent
c61665b85d
commit
5525a9021e
1 changed files with 2 additions and 2 deletions
|
|
@ -16,8 +16,8 @@ LOCAL_SETTINGS = get_settings_from_file('pelicanconf.py')
|
|||
SETTINGS.update(LOCAL_SETTINGS)
|
||||
|
||||
CONFIG = {
|
||||
# Local path configuration (can be absolute or relative to tasks.py)
|
||||
'deploy_path': 'output',
|
||||
# Output path. Can be absolute or relative to tasks.py. Default: 'output'
|
||||
'deploy_path': SETTINGS['OUTPUT_PATH'],
|
||||
{% if ssh %}
|
||||
# Remote server configuration
|
||||
'production': '{{ssh_user}}@{{ssh_host}}:{{ssh_port}}',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue