I think this is the only solution to add the path dynamically, since we can not pas `currentNode.url` (only available in .ejs templates rendered by node).