See this page from online manual:

https://docs.digikam.org/en/post_processing/html_gallery.html#htmlgallery-newtheme
