Fix presentors array

mdx-conversion
Aditya Thakral 2 years ago
parent 8d97001460
commit 289e0f8c67
  1. 4
      scripts/mdx-scripts/talk-conversion.js

@ -96,7 +96,7 @@ async function xml2md(talk, index) {
index: ${index}
title: '${title.replaceAll("'", "''")}'
presentors:
- '${presentors.join("\n - ").replaceAll("'", "''")}'
- ${presentors.join("\n - ").replaceAll("'", "''")}
thumbnails:
small: '${thumbSmall}'${thumbLarge ? `\n large: '${thumbLarge}'` : ""}
links:
@ -129,7 +129,7 @@ async function resourceExists(url) {
const time = Math.trunc(Math.random() * 10000);
await sleep(time);
// const timer = setTimeout(() => console.log("not done", time, url), time + 3000);
const timer = setTimeout(() => console.log("not done", time, url), time + 3000);
const response = await fetch(url);
clearTimeout(timer)

Loading…
Cancel
Save