From 5e0e80eb5964b17e4ef189ea952d4ce36b5aa4bf Mon Sep 17 00:00:00 2001 From: Ole Eskild Steensen Date: Thu, 3 Nov 2022 17:02:33 +0100 Subject: [PATCH] Fix graph --- src/site/index.11tydata.js | 2 ++ src/site/notes/notes.11tydata.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/site/index.11tydata.js b/src/site/index.11tydata.js index 18fdc26..af1e457 100644 --- a/src/site/index.11tydata.js +++ b/src/site/index.11tydata.js @@ -29,6 +29,7 @@ module.exports = { link.slice(2, -2) .split("|")[0] .replace(/.(md|markdown)\s?$/i, "") + .replace("\\", "") .trim() )); @@ -68,6 +69,7 @@ module.exports = { link.slice(2, -2) .split("|")[0] .replace(/.(md|markdown)\s?$/i, "") + .replace("\\", "") .trim() )); diff --git a/src/site/notes/notes.11tydata.js b/src/site/notes/notes.11tydata.js index 417d4ed..fad1677 100644 --- a/src/site/notes/notes.11tydata.js +++ b/src/site/notes/notes.11tydata.js @@ -29,6 +29,7 @@ module.exports = { link.slice(2, -2) .split("|")[0] .replace(/.(md|markdown)\s?$/i, "") + .replace("\\", "") .trim() )); @@ -68,6 +69,7 @@ module.exports = { link.slice(2, -2) .split("|")[0] .replace(/.(md|markdown)\s?$/i, "") + .replace("\\", "") .trim() ));