queensferryme / hugo-theme-texify

A minimal, latex-style hugo theme for personal blogging
https://texify.qufy.me
MIT License
139 stars 47 forks source link

How do I add a favicon? #4

Closed Abdulee closed 3 years ago

Abdulee commented 3 years ago

Hello, I have a favicon placed for my site in /static/img/favicon.ico it is a 64x64 file. I have added favicon=/img/favicon.ico in config.toml however it is not working... Any help on how I can do this?

queensferryme commented 3 years ago

Thanks for reporting the issue. Adding a favicon to your site is not supported currently, I will add this feature in a few days.

queensferryme commented 3 years ago

@Abdulee Hey, sorry for the delay. In case you are still interested, I think putting your favicon.ico at static/favicon.ico would solve your problem.

queensferryme commented 3 years ago

I have come up with a fiix in 7115035. In order to customize favicon, you will need to add something like these in your config.toml:

[params]
  # ...
  favicon = "/favicon.ico"

Let me know if you need more help!

Abdulee commented 3 years ago

Great! I was able to use favicon already with by putting it in /static/ but this should make stuff even better. Great theme and good work :)