How can i add the page name to the title page?

I created a title page for PDF exports and added some Text, logos etc.

However i didnt manage to export the name of the page that i am currently exporting.

I have the need to add a title page to specific PDF export with content that i dont need in confluence itself, hence why i cant use the export/print to pdf option. I am therefor using the space tool for exporting spaces to PDF and limit the export to one page at a time.

In the CSS/HTML, i added company logo, address and a signature box. Above the signature box, i need the page name of the space sub site that i am currently exporting. Copy pasting is not an option, because i will reuse this title page for about 50 pages that i export, so i need a variable that i can access in the CSS/HTML. How i do that?

1 answer

I think you refer to the title with:

.pagetitle h1 {
              display:[inline|block|none];
}

(Choose one of the three methods to display it.)

I haven't tried it, so don't flame me. 8-)

Thanks Milo but that didnt work for me... am i missing something ?

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 Friday 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...

292 views 11 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