Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Attachments list at bottom of Confluence page exported to HTML

William Parker
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 31, 2019

Whenever we export a Confluence page to HTML, there is a list of all the attachments at the bottom of the page. These attachments are images existing on the page. What can be done to not generate or remove this list from the HTML page?

The images themselves are displaying in the page content as expected.

image.png

2 answers

0 votes
Metin Savignano
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
June 1, 2022

I found the following solution:

The Confluence HTML export includes a CSS file under styles/site.css to which you can add the following line

DIV.pageSection.group { display: none; }

The attachments section will then still be there, but it won't be displayed any more.

To apply the same solution to the footer saying that this is a Confluence export

DIV#footer { display: none; }

or for both simply

DIV.pageSection.group, DIV#footer { display: none; }
0 votes
Shannon S
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 8, 2019

Hello William,

Welcome to Atlassian Community. It's nice to meet you.

You can try to customize the HTML export JAR file, per Stephen's instructions on this thread: Can you customize HTML Exports?

Otherwise, you might be able to use an add-on from Marketplace to customize the export.

Let me know if you have any questions about that.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events