summaryrefslogtreecommitdiff
path: root/animism-align/cli/commands
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-11-17 15:12:20 +0100
committerJules Laplace <julescarbon@gmail.com>2020-11-17 15:12:20 +0100
commitd66da57961a234ea1de91d0e4a5b0d5b7747bfe8 (patch)
tree18e7309a95f7a0e59cbcde036f4ab5c8d106438d /animism-align/cli/commands
parentc79785e09b4af0ca453663c07359e10b1ef03521 (diff)
opengraph
Diffstat (limited to 'animism-align/cli/commands')
-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'))