Skip to content

Commit

Permalink
Update index.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
epreston committed Sep 27, 2023
1 parent 797201a commit 545dbdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tutorials/index.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ export default function makePlugin(dir) {

tutorialsIndex[lang][filepath] = {
title: file.title,
url: url.replace(lang, '').replace('index.html', ''),
url: url.replace(lang, '').replace('index.html', '').replace('.html', '/'),
tags: file.tags,
thumbUrl: file.thumb
};
Expand Down

0 comments on commit 545dbdc

Please sign in to comment.