From 334e025e1d4d3b84e3e3fa934071bbc562db5ab0 Mon Sep 17 00:00:00 2001 From: Ategon Date: Sat, 7 Sep 2024 05:36:20 -0400 Subject: [PATCH] vault backup: 2024-09-07 05:36:19 --- Edikoyo/Animals/_index.md | 3 ++- content/docs/Animals/_index.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Edikoyo/Animals/_index.md b/Edikoyo/Animals/_index.md index b08afd0..74e745c 100644 --- a/Edikoyo/Animals/_index.md +++ b/Edikoyo/Animals/_index.md @@ -1,5 +1,6 @@ ```dataview -TABLE choice(file.name != "_index", file.name, file.folder[-1]) as "Name" +TABLE WITHOUT ID link(file.path, choice(file.name != "_index", file.name, split(file.folder, "/")[1])) as "Animals" FROM "Animals" +WHERE file.folder = "Animals" or file.name = "_index" ``` \ No newline at end of file diff --git a/content/docs/Animals/_index.md b/content/docs/Animals/_index.md index ba1d434..530d964 100644 --- a/content/docs/Animals/_index.md +++ b/content/docs/Animals/_index.md @@ -3,8 +3,9 @@ ````dataview -TABLE choice(file.name != "_index", file.name, file.folder[-1]) as "Name" +TABLE WITHOUT ID link(file.path, choice(file.name != "_index", file.name, split(file.folder, "/")[1])) as "Animals" FROM "Animals" +WHERE file.folder = "Animals" or file.name = "_index" ````