Skip to content

Commit

Permalink
fix dynamicPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Oct 18, 2024
1 parent d63dbb2 commit 0564e34
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions observablehq.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@ export default {
</div>`,
footer: ((date = new Date()) =>
${date.getUTCFullYear()} Observable, Inc. Last updated <a title="${date.toISOString()}">${date.toLocaleDateString("en-US", {month: "short", day: "numeric"})}</a>.`)(),
dynamicPaths: packages.flatMap(({name}) => [
`/${name}`,
dynamicPaths: packages.flatMap(({name, repo}) => [
`/@${repo}`,
`/${name}/downloads-dark.svg`,
`/${name}/downloads.svg`
])
Expand Down

0 comments on commit 0564e34

Please sign in to comment.