Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat page title in page content on Confluence Cloud

Ellen Beentjes
Contributor
March 8, 2018 edited

I would like to use the page title in the page in Confluence Cloud. Is there a way to do this?

Another way would be to create the page (based on a template) and create the page title upon Save from a specific fields in the page.

2 answers

0 votes
Mike Desilets January 10, 2019

Create a user macro and then place that new macro into your template.

Macro would look like:

## @noparams
$content.title
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 10, 2019

Confluence cloud does not support user macros.

Mike Desilets January 10, 2019

Well, like my tag said "I'm new here" - sorry.

Like Management - JM likes this
0 votes
Davin Studer
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 8, 2018

Please explain further what you are trying to do? I'm not quite understanding your question.

Jivan Roquet November 19, 2018 edited

It seems that Ellen wants to be able to re-use the title of the page in the same page's content, when defining a template. When used, the template would automatically populate this placeholder with the actual page title.

Like, the template would look like:

Page Title

Hey we are on {repeat-page-title} and we hope you're enjoying it.

And when using the template, it becomes:

My Great Page Title

Hey we are on My Great Page Title and we hope you're enjoying it.

Ellen Beentjes
Contributor
November 19, 2018

Hi Jivian,

That is exactly what I would like to achieve. Thanks for clarifying :-)

Like Jivan Roquet likes this
harry.jabr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 27, 2022 edited

Hi,

Was there a way to do this without macros?  I've got the same requirement.

Thanks,

Harry

Marcel Kleinlütke
Contributor
April 26, 2022

Variables/Placeholder in Template or PageBlueprint should work.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events