Check len(.Links) in the template