diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 22:14:21 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-03-20 22:14:21 +0100 |
| commit | 19cf3a296741b92548849b1f40e0d3cc517f2fcc (patch) | |
| tree | a6987f9a679b19c96bdef018c64dcabfbbe48faf /cli/app/site | |
| parent | 50d5c3c2f10725af8ebb6db47c209f7000abc8f4 (diff) | |
dimensions based on video
Diffstat (limited to 'cli/app/site')
| -rw-r--r-- | cli/app/site/export.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/app/site/export.py b/cli/app/site/export.py index c301a60..4ce8b64 100644 --- a/cli/app/site/export.py +++ b/cli/app/site/export.py @@ -93,6 +93,10 @@ def sanitize_graph(graph): if tile['target_page_id']: if tile['target_page_id'] == -1: tile['href'] = tile['settings']['external_link_url'] + elif tile['target_page_id'] == -2: + tile['href'] = '__open_popup' + elif tile['target_page_id'] == -3: + tile['href'] = '__close_popup' elif tile['target_page_id'] > 0: tile['href'] = page_path_lookup[tile['target_page_id']] if 'url' in tile['settings'] and tile['settings']['url'].startswith('/static'): |
