(link r (+ "/" r))
If all your pages are at the same level and using just "10a" for the URL would work OK, then you could use
(link r)