Gallery: custom html structure


I’m new to ghost. I want to create my own personal theme. I want to change the html output of the gallery, I don’t need ghost’s current html structure nor the css classes. Can I change the output somehow? I could not find anything about it in the docs.

Thank you in advance,


The output from the editor can’t be changed without causing issues for the future. You can also use client-side js to change the dom structure if it’s that important.