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

This widget could not be displayed.

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

 

 

1
2
## @noparams
#contentLink2($content.getParent() false false)
This widget could not be displayed.
Mirek Community Champion Mar 02, 2016

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

This widget could not be displayed.

Sounds great but we're on Confluence Cloud sad

This widget could not be displayed.
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 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
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

583 views 7 6
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