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

812 views 23 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