diff --git a/Edikoyo/Animals/_index.md b/Edikoyo/Animals/_index.md index 2a77e5b..b08afd0 100644 --- a/Edikoyo/Animals/_index.md +++ b/Edikoyo/Animals/_index.md @@ -1,5 +1,5 @@ ```dataview -TABLE file.name as "Name" - +TABLE choice(file.name != "_index", file.name, file.folder[-1]) as "Name" +FROM "Animals" ``` \ No newline at end of file diff --git a/content/docs/Animals/_index.md b/content/docs/Animals/_index.md index f48b974..ba1d434 100644 --- a/content/docs/Animals/_index.md +++ b/content/docs/Animals/_index.md @@ -3,8 +3,8 @@ ````dataview -TABLE file.name as "Name" - +TABLE choice(file.name != "_index", file.name, file.folder[-1]) as "Name" +FROM "Animals" ````