Link to parent

I'd like to include an automatic link back to the parent page in my template. I can see how to do this for children pages but not for parent page.

Surely this is possible? What am I missing?

4 answers

You can make a simple user macro that will provide this functionality:



## @noparams
#contentLink2($content.getParent() false false)

You might add a HTML macro to a template with javascript code

Sounds great but we're on Confluence Cloud sad

0 vote
Stephen Deutsch Community Champion Mar 28, 2016

Hi Matt,

I've been thinking about your problem for a while, and I decided to write a small connect plugin that displays a link to the parent page.  It's not 100% perfect yet (it still doesn't align text perfectly when the link is displayed in the same paragraph with other text), but if you would like to try it out, you can send me an e-mail at and I will send you a link to install it.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

370 views 20 10
Join discussion

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