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 vote
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

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

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
Posted Jul 10, 2018 in Confluence

We want to see the templates you've created in Confluence!

Hi Community, Jessica here from the Confluence Product Marketing team!  July’s community challenge is all about sharing pictures  — and as an extension of our first post on what ...

1,035 views 23 13
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