Compare commits

..

No commits in common. "5061baabb928d57b67d557bffa9b98f8ce708944" and "210f8e71d81f2b41cb0673ce6e17118f2f5b7934" have entirely different histories.

View File

@ -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 };