Compare commits
2 Commits
210f8e71d8
...
5061baabb9
| Author | SHA1 | Date | |
|---|---|---|---|
| 5061baabb9 | |||
| 2f6afa9210 |
|
|
@ -179,7 +179,7 @@ export default function () {
|
||||||
breadcrumbs.push({ title: config.siteName, url: '/' });
|
breadcrumbs.push({ title: config.siteName, url: '/' });
|
||||||
}
|
}
|
||||||
else {
|
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 };
|
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