---
title: "Excluding in-page content from being published"
canonical: "https://support.appfire.com/space/AHP/649954840/Excluding%20in-page%20content%20from%20being%20published"
format: markdown
---
> Macro (aura-html)

## 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](https://appfire.atlassian.net/wiki/spaces/AHP/pages/649593767)**. All the content is copied.

## Example

The expected outcome looks like the following for the example above

#### Draft (source space) page

![image](media://d66a5869-ff84-4c4e-b1fa-0d1da8afc8d2)

#### Published (target space) page

![image](media://da95a93b-f5bf-4ce7-ba62-a69dbcc2f40a)

This macro works for space publishing - both [whole space](https://appfire.atlassian.net/wiki/spaces/AHP/pages/649692474) and [single-page publishing](https://appfire.atlassian.net/wiki/spaces/AHP/pages/649561680).