summaryrefslogtreecommitdiff
path: root/animism-align/cli/commands/site/export.py
diff options
context:
space:
mode:
Diffstat (limited to 'animism-align/cli/commands/site/export.py')
-rw-r--r--animism-align/cli/commands/site/export.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/animism-align/cli/commands/site/export.py b/animism-align/cli/commands/site/export.py
index 987ee43..8ffe461 100644
--- a/animism-align/cli/commands/site/export.py
+++ b/animism-align/cli/commands/site/export.py
@@ -29,6 +29,8 @@ def cli(ctx, opt_output_dir):
page_title = "Animism: Episode 1"
page_name = "episode1"
page_desc = "A Report on Migrating Souls in Museums and Moving Pictures"
+ page_image = ""
+
page_url = "/" + page_name
media_url = "/" + page_name + "/media"
@@ -60,6 +62,7 @@ def cli(ctx, opt_output_dir):
index_html = index_html.replace('SITE_JSON', json.dumps(db, separators=(',', ':')))
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('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'))