diff options
Diffstat (limited to 'src/upd8.js')
-rwxr-xr-x | src/upd8.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/upd8.js b/src/upd8.js index e81eccce..7f05fba4 100755 --- a/src/upd8.js +++ b/src/upd8.js @@ -2306,6 +2306,8 @@ async function main() { // each page? const bound = {}; + bound.html = html; + bound.link = withEntries(unbound_link, (entries) => entries.map(([key, fn]) => [key, bindOpts(fn, {to})]) ); @@ -2497,7 +2499,7 @@ async function main() { .from('shared.root') .to('shared.path', paths.pathname + OEMBED_JSON_FILE); - const html = writePage.html(pageInfo, { + const pageHTML = writePage.html(pageInfo, { defaultLanguage: finalDefaultLanguage, language, languages, @@ -2510,7 +2512,7 @@ async function main() { }); return writePage.write({ - html, + html: pageHTML, oEmbedJSON, paths, }); |