• Community
  • Products
  • Confluence
  • Questions
  • We have different brands, but want to maintain one documentation. Is it possible to replace e.g. brandname on each page (text, urls) upon pdf export?

We have different brands, but want to maintain one documentation. Is it possible to replace e.g. brandname on each page (text, urls) upon pdf export?

 

2 answers

1 accepted

Many thanks for your answer.

But the brand names are included in the continuous text as well as in links or tables. means it would be a lot of work to separate the parts. 

While doing further research we found another solution using HTML marco which we might consider.

Replace every occurrence of the brand name with 2 span tags using (class=brand1 and class=brand2) and before exporting to pdf add the following to the export style css:

.brand1 {  
display: none;  
}

The same can be done to the space style, in order to hide one brand on the regular wiki page

I think your best bet is to build pages for text blocks, then create pages for each brand and use Include Page macros to build the pages around the specific brand info.

This way you only have to update the text block pages and all the brand pages will update automatically.

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

2,941 views 27 12
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