Display a Message if there is no content coming from cms?

hii…when there is no items coming from the cms i need to display a message to the user. like if there is no up coming evet i need to display message “no any upcoming events” something like that. how can i do that ?

1 Like