Can we use templater to Map new notes automatically?

The following creates an index for any folder that the index note is in without having to localize the query to the folder’s name:

```dataview
LIST
WHERE contains(file.folder, this.file.folder)
SORT file.name ASC
WHERE file.name != this.file.name
```

The line…

WHERE file.name != this.file.name

…removes the self-referencing title of the index file from the index that is produced. Can be removed, of course.

Credit to this post.

Angel