From 2c170793e9d7e1c61910c908b97eaf1f3cb4de11 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 6 Mar 2021 15:17:10 +0100 Subject: add project type --- animism-align/cli/commands/site/export.py | 1 + 1 file changed, 1 insertion(+) (limited to 'animism-align/cli/commands/site/export.py') 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')) -- cgit v1.2.3-70-g09d2