Include page title in the page include macro

Does anyone know how to include the page title when using the include page macro? We use this alot to generate our end user or custom client-facing doc, but have to reinsert the page titles for each. Would appreciate any ideas on how we can do this.

2 answers

You could write a macro that invokes the include page macro and also includes the title of the target page. To invoke a macro from within a macro, use the $globalHelper.renderConfluenceMacro() method. hth,

matt

Include page title should be optional.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Asked May 24, 2018 in Confluence

What are the resources that you use to learn more about Atlassian Products?

I am gathering information about resources available for Atlassian product knowledge transferring for a presentation in our local Atlassian User Group. I want to group them in four categories From ...

604 views 18 16
View question

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you