diff --git a/src/site/_includes/components/graphScript.njk b/src/site/_includes/components/graphScript.njk index b8a5981..ce07932 100644 --- a/src/site/_includes/components/graphScript.njk +++ b/src/site/_includes/components/graphScript.njk @@ -23,7 +23,7 @@ function filterToDepth(data) { let remaining = JSON.parse(JSON.stringify(data.nodes)); - let currentLink = window.location.pathname; + let currentLink = decodeURI(window.location.pathname); let currentNode = remaining[currentLink] || Object.values(remaining).find((v) => v.home); delete remaining[currentNode.url]; if (!currentNode.home) {