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
Edit the page in Confluence.
Type /hide and choose Hide on published site (Capable). It is in the Formatting group of the macro browser.
Put the content to hide inside the macro, or move existing content into it.
Publish the page.
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. |
Moving from Scroll? Content inside k15t's Scroll Ignore macro is also left off the published site, so migrated pages stay as they were.
This is publishing, not permissions. The content is still in the Confluence page. Anyone who can open the page in Confluence can read it.
#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.
#Related
In Confluence, still there. On the site, gone.
