Any ideas on how to create a dataview query within a templater template that will reference its own file name? I am trying to make a series of indexes that would just display a list of backlinks to the index. When creating a page that would link to a brand new index, I would in theory just be able to apply the “index template” that would already have a query typed out and auto-fill the “FROM” field with the name of the file.
Things I have tried
I have tried creating a template with
"
LIST
FROM [[tp.file.title]]
However this doesn’t seem to work.
What I’m trying to do
I’m in the wine business and trying to use Obsidian as a wine tasting journal. This way I can create a new file for each wine, and link to regions and subregions. That way I can look at an index for “California” and it will display all wines from California. Or “Napa Valley” which would then narrow the index to just wines from there, and exclude the rest of California. I’ve also considered using tags, but links seems more straightforward. This way when I try a wine from a new region, I can link the new region and apply the “index template” to the new page and have it auto populate with query results.
I