Skip to content

Commit

Permalink
Fix bad URL generation
Browse files Browse the repository at this point in the history
  • Loading branch information
markerikson committed Dec 3, 2018
1 parent cf11a25 commit 7564f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/pages/en/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const MarkdownBlock = CompLibrary.MarkdownBlock; /* Used to read markdown */
const siteConfig = require(`${process.cwd()}/siteConfig.js`);

function docUrl(doc, language) {
return `${siteConfig.baseUrl}docs/${language ? `${language}/` : ""}${doc}`;
return `${siteConfig.baseUrl}${language ? `${language}/` : ""}${doc}`;
}

class Button extends React.Component {
Expand Down

0 comments on commit 7564f73

Please sign in to comment.