I relate pages together using the name of one page in the tag of another. Then in the named page, I query all pages that use that tag. (This is like related pages, but not for the same purpose).
In V1 I used:
page where tags = @page.name
Now I want to do something like:
${query[[from index.tag "page" where table.includes(itags, page.name)]]}
But I can’t work out the correct way to express it in lua. How do I refer to the name of the current page in a LIQ query?
Thanks!
Thanks, I tried that too, and while I get a result, it isn’t the one I expect. The resulting table has an entry that has an itag of “page”, but not the page name as a tag. I figured that ‘name’ must somehow be matching the word ‘page’ instead of the page name.