Excluding in-page content from being published

Overview

There might be content within a page that you don't want to publish for a variety of reasons.

For that use case, you can use the Ignore Publishing macro. This macro provides the ability for content within the macro to be ignored by space publishing and single-page publishing actions.

How does the macro work?

  • add the macro by type {ign... 

  • choose ignore-publishing in the page location where you want to insert the content to be ignored

  • type, or copy and paste, the content within the macro body

  • Save your changes

From now on, you can publish that page, and that content is not published to the target space.

The macro is ignored when using Copy space. All the content is copied.

Example

The expected outcome looks like the following for the example above

Draft (source space) page

Published (target space) page

This macro works for space publishing - both whole space and single-page publishing.