mirror of
https://github.com/tcsenpai/obsidiangarden_netlify.git
synced 2025-06-06 20:55:21 +00:00
fixed typo
This commit is contained in:
parent
2ee91a928e
commit
1a3e1fae66
@ -83,7 +83,7 @@ function getPermalinkMeta(note, key) {
|
|||||||
if (note.data["dg-path"]) {
|
if (note.data["dg-path"]) {
|
||||||
folders = note.data["dg-path"].split("/");
|
folders = note.data["dg-path"].split("/");
|
||||||
} else {
|
} else {
|
||||||
folders = note.filePathStem.split
|
folders = note.filePathStem
|
||||||
.split("notes/")[1]
|
.split("notes/")[1]
|
||||||
.split("/")
|
.split("/")
|
||||||
.map(toTitleCase);
|
.map(toTitleCase);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user