On many of my wiki pages I have a div block with "related info" Often I use the following:
This works really nice, but it falters when I have a compound title, such as "James Brown"Code:{{ wiki.search{query: page.title, max: "10"} }}
I want it to search for James Brown exactly, not just the pages with James OR Brown. So I devised the following script, but it doesn't seen to work:
Should I use escape characters or something? The syntax is correct, but the search still results in James OR Brown..Code:{{ wiki.search{query: "'"..page.title.."'", max: "10"} }}


Reply With Quote