Hi everyone,
I am trying to configure the PDF export of my confluence.
I want to write the space name and the page name at the bottom of the page export.
I am able to write the page number with the "count(page) / count(pages)" method, but I cannot find anything on how to get page and space data like space name and page name.
Thank you in advance.
Hi @Alexandre Meyer and welcome to the community!
Take a look at this https://support.atlassian.com/confluence-cloud/docs/customize-exports-to-pdf/
You will find a template css which includes the following:
@page { margin: 0.5in; padding: 1em; @top-left { content: element(header); } @bottom-left { content: element(footer); } } @page title { margin: 0.5in; padding: 1em; @top-left { } @bottom-left { } } a { text-decoration:none; } div.titlepage,div.toc { page:title; }
Hi @Alex Koxaras -Relational- and thank you for your answer.
I've seen this documentation but I fear I did not truly understand it.
Does that mean that " @page title" gives me the title of the page? If so, does "@space title" does the same for the space?
Thanks in advance if you have the answer.
I understood that atlassian does not supply a complete documentation for this feature, thus we switched to Scroll PDF Exporter which does the job easily.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.