Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Image RemovedImage Added
Excerpt
hiddentrue

Using the ignore-publishing macro to prevent some page content from being published

Note

Available Comala Publishing v2.12+

Image RemovedImage Added

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, which provides the ability to for content within the macro to be ignored by space publishing and single page publishing.

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 won't be published to the target space.

This macro is ignored if you use the Copy space.

Example

The expected outcome looks like the following for the example above

Draft (source space) page

Published (target space) page

Image RemovedImage Added

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

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