summaryrefslogtreecommitdiff
path: root/animism-align/cli/commands
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2021-03-06 15:17:10 +0100
committerJules Laplace <julescarbon@gmail.com>2021-03-06 15:17:10 +0100
commit2c170793e9d7e1c61910c908b97eaf1f3cb4de11 (patch)
tree07852cc88dfb2270aa8c065fdbca34977a8fb4cd /animism-align/cli/commands
parent2167b0d496544f2ce904cd0036fdb8dd809ff7a0 (diff)
add project type
Diffstat (limited to 'animism-align/cli/commands')
-rw-r--r--animism-align/cli/commands/site/export.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/animism-align/cli/commands/site/export.py b/animism-align/cli/commands/site/export.py
index d706a55..41e41ed 100644
--- a/animism-align/cli/commands/site/export.py
+++ b/animism-align/cli/commands/site/export.py
@@ -80,6 +80,7 @@ def cli(ctx, opt_output_dir, opt_sync, opt_js):
index_html = index_html.replace('PAGE_TITLE', page_title)
index_html = index_html.replace('PAGE_DESCRIPTION', page_desc)
index_html = index_html.replace('PAGE_SHARE_IMAGE', page_image)
+ index_html = index_html.replace('PAGE_SHARE_URL', site_url + "/")
index_html = index_html.replace('PLAIN_CONTENT', plain_content(db, site_title))
index_html = index_html.replace('BUNDLE_PATH', join(page_url, 'bundle.js'))
write_text(index_html, join(site_fp_out, 'index.html'))