making display of content conditional on there being content