Hide part of a page on a published site

Some content belongs in Confluence but not on the published site: an internal note, a contact list, a draft section. Excluding the whole page is too much. The Hide on published site macro keeps just that part back.

To hide part of a page, wrap it in the Hide on published site (Capable) macro, then publish the site.


#Steps

  1. Edit the page in Confluence.

  2. Type /hide and choose Hide on published site (Capable). It is in the Formatting group of the macro browser.

  3. Put the content to hide inside the macro, or move existing content into it.

  4. Publish the page.

  5. Publish the site: Update and Promote, or wait for a live site to publish.


#What is hidden

Published page

The content inside the macro is not there.

On this page

Headings inside the macro are left out.

Site search and Ask AI

The hidden text is not indexed.

Markdown and llms files

Left out as well.

Confluence

Unchanged. Everyone who can read the page still sees the content.


#A few things worth knowing

  • The macro has no settings. Everything inside it is hidden.

  • To hide a whole page, or a whole branch of pages, use the capable-sites-exclude label instead.

  • On a Preview, then publish site, the change shows on the live site only after you promote.



In Confluence, still there. On the site, gone.