use tertiary operator, to correctly display links, except #41