Removing use of #{site.base_url} in the paginator

it seems that the 'site' variable is not available during the call to the links() function.

My fault, I don't understand how I had not seen it before. Sorry about that.