Skip to content
This repository has been archived by the owner on Dec 11, 2024. It is now read-only.

Commit

Permalink
- Removed unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark-M-Ensemble committed Mar 4, 2024
1 parent 5d1af64 commit ad607c5
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions scripts/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -1132,17 +1132,6 @@ export function addHeaderSizing(block, classPrefix = 'heading', selector = 'h1,
});
}

function getPageNameAndSections() {
const pageSectionParts = window.location.pathname.split('/').filter((subPath) => subPath !== '');
const pageName = pageSectionParts.join(':');
const finalPageName = pageName === '' ? 'Home' : pageName;

return {
pageName: finalPageName,
sections: pageSectionParts,
};
}

try {
const hidden = Symbol('hidden');
const proxy = Symbol('proxy');
Expand Down

0 comments on commit ad607c5

Please sign in to comment.