diff --git a/src/helpers/filetreeUtils.js b/src/helpers/filetreeUtils.js index b97626a..a799f34 100644 --- a/src/helpers/filetreeUtils.js +++ b/src/helpers/filetreeUtils.js @@ -68,7 +68,7 @@ function getPermalinkMeta(note, key) { if (note.data["dg-path"]) { folders = note.data["dg-path"].split("/"); } else { - folders = note.filePathStem.split + folders = note.filePathStem .split("notes/")[1] .split("/") .map(toTitleCase);