I use the contentbylabel macro in a template to pull in lists of related pages based on labels. However, sometimes there are no related pages and I would like to know if there's some Velocity code I could use where if results = 0 I can put "N/A" or just not make it show at all.
The default Confluence behaviour of printing out "No content found for label(s) YOURLABELSHERE." is unattractive.
That does seem to be the case, sorry about that.
I found another couple of suggestions which might work for you:
Hope that helps more than my first suggestion :)
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs