forestryio / hugo-theme-novela

Novela, the simplest way to start publishing with Hugo and Forestry.
https://hugo-novela-forestry.netlify.app/
MIT License
361 stars 192 forks source link

Cannot change website icon #79

Closed jt15s closed 2 years ago

jt15s commented 3 years ago

I tried replacing the favicon.svg in the template with my own, and adding the /layouts/icons/ui/icon.html file with the following: <img src="/static/images/favicon.svg"> But the logo is still the template default. Am I doing something wrong?

It might be good if the template documentation were updated to be more specific about this - it's very vague.

Thanks in advance!

jt15s commented 3 years ago

Ah ok, figured it out now. Though, there's a discrepancy in the documentation between this repository and the template repository. The template documentation says to add logo.html in /layouts/icons/ui/logo.html, however, this repository says to add it in /layouts/partials/icons/ui/logo.html. Only the instructions given by this repository work.

Would be good to update the documentation and add some more instructions on what to put in logo.html: maybe something like saying you can download a template logo.html file from this repository and replace the SVG markup inside the div tags with the markup of your own logo (you can get this by opening an SVG file with any text/code editor).

Thanks!