I have some pages that have an alias in the frontmatter, made up of the file name + the word “Index”. Eg, Amsterdam, alias Amsterdam Index. I’m trying to get a list of all files that have an alias that includes the word “Index”. I tried getting it via file.name, thinking that maybe alias would count as a file.name, but it doesn’t.
list from ""
where contains(file.name, "Index")
Does anyone know how I can do this?
I should clarify that my search works, but it returns files whose name includes “Index”, but I want to seach within the alias field only.