How to add a favicon when theme is a submodule

I’m using the super clean arabica theme for a personal blog project and I am not sure how to add the favicon.

I’ve put a favicon.ico image in /static/, but from what I’ve been reading I need to update the header.html file. This doesn’t seem possible for submodules (which arabica is installed as). Is there another way to do it? thanks

You can override the header partial. So copy:

themes/arabica/layouts/partials/header.html

And paste it to:

layouts/partials/header.html

Then make your changes to the new file. Hugo will automatically use this new header partial because of the template lookup order.