Skip to content

Commit

Permalink
Fix relative paths for footer entries of the landing page
Browse files Browse the repository at this point in the history
This prevents false pre-fetching of non-existing pages.

GH-119
  • Loading branch information
arcticicestudio committed Feb 21, 2019
1 parent 3161976 commit 4042c81
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/data/components/organisms/core/Footer/sitemapCategories.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ const sitemapCategories = [
name: "Nord",
url: ROUTE_ROOT,
links: [
{ title: "Palettes", url: `#${sectionIdFor(ROUTE_ROOT, 1)}` },
{ title: "Ports", url: `#${sectionIdFor(ROUTE_ROOT, 3)}` },
{ title: "Swatches", url: `#${sectionIdFor(ROUTE_ROOT, 4)}` },
{ title: "Syntax Highlighting", url: `#${sectionIdFor(ROUTE_ROOT, 5)}` },
{ title: "Community", url: `#${sectionIdFor(ROUTE_ROOT, 6)}` }
{ title: "Palettes", url: `/#${sectionIdFor(ROUTE_ROOT, 1)}` },
{ title: "Ports", url: `/#${sectionIdFor(ROUTE_ROOT, 3)}` },
{ title: "Swatches", url: `/#${sectionIdFor(ROUTE_ROOT, 4)}` },
{ title: "Syntax Highlighting", url: `/#${sectionIdFor(ROUTE_ROOT, 5)}` },
{ title: "Community", url: `/#${sectionIdFor(ROUTE_ROOT, 6)}` }
]
},
{
Expand Down

0 comments on commit 4042c81

Please sign in to comment.