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:

 

 

1
2
## @noparams
#contentLink2($content.getParent() false false)
0 votes
Mirek Community Champion Mar 02, 2016

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

Sounds great but we're on Confluence Cloud sad

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 stephendeutsch1@gmail.com and I will send you a link to install it.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

727 views 2 13
Read article

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