Skip to content
Snippets Groups Projects
Commit 8d77cd3d authored by Mark Kane's avatar Mark Kane
Browse files

Fix: disable breadcrumbs (planning#404)

parent 1b4f0a78
No related branches found
No related tags found
No related merge requests found
......@@ -45,7 +45,8 @@ module.exports = {
{
docs: {
sidebarPath: require.resolve('./sidebar.js'),
routeBasePath: '/'
routeBasePath: '/',
breadcrumbs: false,
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
......
window.addEventListener("load", function() {
const btn = document.getElementsByClassName('fitko-navbar-icon--back')[0];
const nav = document.getElementsByClassName('navbar__items')[0];
// checks URL to see if "back to root" button should be visible
const checkBackBtnVisibility = () => {
if (window.location.pathname === '/' && !btn.classList.contains('hidden')) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment