details.html: Check that links has a length