diff options
Diffstat (limited to 'cli/app/site/export.py')
| -rw-r--r-- | cli/app/site/export.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/app/site/export.py b/cli/app/site/export.py index 4ddd01d..2b8b366 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -25,7 +25,7 @@ def export_site(opt_graph_path, opt_output_dir=app_cfg.DIR_EXPORTS, opt_build_js # load site index index_html = load_text(join(app_cfg.DIR_STATIC, 'site.html'), split=False) - index_html = index.html.replace('CUSTOM_HEADER', graph.settings.get('custom_header', '')) + index_html = index_html.replace('CUSTOM_HEADER', graph.settings.get('custom_header', '')) index_html = index_html.replace('SITE_PATH', '/' + graph.path) # write site JSON data |
