summaryrefslogtreecommitdiff
path: root/cli/commands
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-11 16:50:50 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-11 16:50:50 +0200
commitcf204a1567bcfc6cdfd1927cd9e897b7334abe16 (patch)
treec2802027d7b4197a2e1304e3dd5f84f1d7edb439 /cli/commands
parent3f79077a17f5b5d84282e2c4b81f8a67a22da3a4 (diff)
fixing export...
Diffstat (limited to 'cli/commands')
-rw-r--r--cli/commands/site/export.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/commands/site/export.py b/cli/commands/site/export.py
index 55f0a31..d9dbbf7 100644
--- a/cli/commands/site/export.py
+++ b/cli/commands/site/export.py
@@ -100,7 +100,7 @@ def sanitize_graph(graph):
for tile in page['tiles']:
if tile['target_page_id']:
if tile['target_page_id'] == -1:
- tile['href'] = tile['external_link_url']
+ tile['href'] = tile['settings']['external_link_url']
elif tile['target_page_id'] > 0:
tile['href'] = page_path_lookup[tile['target_page_id']]
sanitize_tile(tile)