forked from nm3clol/nm3clol-express-app
Merge pull request 'fix: Added dashes back into video player breadcrumbs.' (#11) from daball/nm3clol-express-app:main into main
Reviewed-on: nm3clol/nm3clol-express-app#11
This commit is contained in:
commit
5061baabb9
|
@ -179,7 +179,7 @@ export default function () {
|
|||
breadcrumbs.push({ title: config.siteName, url: '/' });
|
||||
}
|
||||
else {
|
||||
breadcrumbs.push({ title: helpers.getDirectoryName(path.name).replaceAll('_', ' ').replaceAll('-', ' '), url: `/${path.url}` });
|
||||
breadcrumbs.push({ title: helpers.getDirectoryName(path.name).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