Skip to content

Commit

Permalink
fix(website): avoid the index.html filename within the Sitemap URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
tmorin committed Aug 19, 2022
1 parent d14a0d9 commit bf8b0ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source/generator/website/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export class Sitemap {
urn: packageUrn,
readme: {
label: "Presentation",
href: `${packageUrn}/index.html`,
href: `${packageUrn}/`,
},
modules: [],
modulesByUrn: {},
Expand All @@ -71,7 +71,7 @@ export class Sitemap {
urn: moduleUrn,
readme: {
label: moduleName,
href: `${moduleUrn}/index.html`,
href: `${moduleUrn}/`,
},
items: [],
}
Expand All @@ -90,7 +90,7 @@ export class Sitemap {
return library
},
{
readme: { label: "Presentation", href: "index.html" },
readme: { label: "Presentation", href: "./" },
changelog: { label: "Changelog", href: "CHANGELOG.html" },
security: { label: "Security", href: "SECURITY.html" },
packages: [],
Expand Down

0 comments on commit bf8b0ac

Please sign in to comment.