diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2020-11-16 17:20:30 +0100 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2020-11-16 17:20:30 +0100 |
| commit | a46412486829a416fb99febaae4679c60da70803 (patch) | |
| tree | c286c141c1622a12da26a00906bd7f3da88a2ef0 /animism-align | |
| parent | 45d27cf690dc2a564563aebf5488e297255e5735 (diff) | |
fix video thumb
Diffstat (limited to 'animism-align')
| -rw-r--r-- | animism-align/README.md | 6 | ||||
| -rw-r--r-- | animism-align/cli/commands/site/export.py | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/animism-align/README.md b/animism-align/README.md index 4c09c65..d768355 100644 --- a/animism-align/README.md +++ b/animism-align/README.md @@ -75,6 +75,12 @@ For production, export a static version of the episode. This will make an expor /static/ # non-site-media, fonts, etc ``` +Watch the production JS: + +``` +NODE_ENV=production node ./node_modules/webpack-cli/bin/cli.js --config ./webpack.config.site.js -o /Users/user/work/animism/animism-align/data_store/exports/animism/episode1/bundle.js --watch +``` + ## History - 2020.05 - Received designs from Other Means diff --git a/animism-align/cli/commands/site/export.py b/animism-align/cli/commands/site/export.py index f9560c6..987ee43 100644 --- a/animism-align/cli/commands/site/export.py +++ b/animism-align/cli/commands/site/export.py @@ -134,6 +134,8 @@ def rewrite_db_media(db, fp_out, url_out): # galleries - a bunch of lookups... we PROBABLY don't need image_lookup (fullsize) elif item['type'] == 'gallery': new_image_lookup = {} + if 'thumbnail' in settings: + settings['thumbnail'] = rewrite_upload(to_copy, settings['thumbnail'], fp_out, url_out) for id in settings['image_order']: id = str(id) if id in settings['image_lookup']: |
