Skip to content

Commit

Permalink
Update build-index.js
Browse files Browse the repository at this point in the history
fix pdf link
  • Loading branch information
AdamFiser authored May 21, 2024
1 parent 28e7efb commit 248aa3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ for (const file of talksFiles) {
}
}

const createLinkList = (talks) => talks.map(talk => `<li><a href="./pva2/${talk.path}">${talk.title}</a> | <a href="./pva2/${talk.path}">prezentace</a> | <a href="./pva2/${talk.path}/${talk.title}.pdf">PDF</a></li>`).join('');
const createLinkList = (talks) => talks.map(talk => `<li><a href="./pva2/${talk.path}">${talk.title}</a> | <a href="./pva2/${talk.path}">prezentace</a> | <a href="./pva2/${talk.path}/${talk.path}.pdf">PDF</a></li>`).join('');
await fs.writeFile(path.join(OUTPUT_PATH, 'index.html'), `<!DOCTYPE html>
<html lang="cs">
<head>
Expand Down

0 comments on commit 248aa3a

Please sign in to comment.