VIVO-217: modified template to handle situations where the associatedPage variable is null