Truncate possible length to prev and next post links