Add new notes, fix minor issues
This commit is contained in:
1 parent
ccdd2bd307
commit
b442413e32
10 files changed
+121
-9
No files matched your search
@@ -28,7 +28,7 @@ function Title() {
|
||||
let currRoot: SiteSubPages = SiteMap.subpages;
|
||||
let title: string | null = null;
|
||||
if (pagePath !== '/') {
|
||||
const subPaths = pagePath.split('/');
|
||||
const subPaths = pagePath.split('?')[0].split('#')[0].split('/');
|
||||
for (const p of subPaths.slice(1, subPaths.length)) {
|
||||
splitPath.push({ name: currRoot[p].title, path: p });
|
||||
|
||||
|
||||
Reference in new issue
Block a user