Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Favicon ? #62

Open
blogdemoi opened this issue Oct 13, 2022 · 2 comments
Open

Favicon ? #62

blogdemoi opened this issue Oct 13, 2022 · 2 comments

Comments

@blogdemoi
Copy link

Hello,

Thank you for this theme.
How can I add a favicon? I see there is one on the demo site.

@athul
Copy link
Owner

athul commented Oct 13, 2022

Hi,

For favicon, there is a configuration option. You can provide the URL for the favicon in the config.toml/yml file of the site.

favicon = "https://img.icons8.com/officel/16/000000/chevron-right.png"

Here is the code that is used in the demo site. You can find the demo site in the site branch.

Cheers.

@blogdemoi
Copy link
Author

Thank you for your reply, it works.

However do you know if this is enough? I read a tuto to show icons in Hugo and it specifies different icons for different browsers:

android-chrome-192x192.png
android-chrome-512x512.png
apple-touch-icon.png
favicon-16x16.png
favicon-32x32.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants