Compare commits
No commits in common. "5061baabb928d57b67d557bffa9b98f8ce708944" and "210f8e71d81f2b41cb0673ce6e17118f2f5b7934" have entirely different histories.
5061baabb9
...
210f8e71d8
|
|
@ -179,7 +179,7 @@ export default function () {
|
|||
breadcrumbs.push({ title: config.siteName, url: '/' });
|
||||
}
|
||||
else {
|
||||
breadcrumbs.push({ title: helpers.getDirectoryName(path.name).replaceAll('_', ' '), url: `/${path.url}` });
|
||||
breadcrumbs.push({ title: helpers.getDirectoryName(path.name).replaceAll('_', ' ').replaceAll('-', ' '), url: `/${path.url}` });
|
||||
}
|
||||
});
|
||||
const renderData = { breadcrumbs, route, filePath, fullFilePath, req, paths, directory: path.join('public', directory), videoURL, subtitleURL, subtitleVTT, info };
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user