How do I set the favicon for my webpage #953
-
I've tried putting favicon.ico into /static/favicon/ and adding into config.yml but it still doesn't work. Help appreciated, thanks |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 7 replies
-
Follow up: I've adjusted the code in config.yml as following: I've also put the favicon files in /static instead of /static/favicon problem still persists. |
Beta Was this translation helpful? Give feedback.
-
@keitng @KarlEmilArvid @perhapzz Lines 171 to 177 in be00e5a |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
I have tried all the combinations for config.yml I can think of, but I can't make it find the favicon. Favicon saved in ( Tried: params:
assets:
favicon: "images/favicon.ico" params:
assets:
favicon: "/images/favicon.ico" params:
assets:
favicon: "assets/images/favicon.ico" params:
assets:
favicon: "/assets/images/favicon.ico" |
Beta Was this translation helpful? Give feedback.
-
Hi, i want to set a favicon for my website. I've used Hugo with PaperMod theme. I followed documentation to set it FAQs Adding Custom Favicon(s) and I used favicon.io to generate the files. This is the directory structure: <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest"> under ~/Documenti/BLOG/layouts/partials/extend_head.html. and ~/Documenti/BLOG/themes/PaperMod/layouts/partials/extend_head.html . Despite this it doesn't work. I also followed this github discussion How do I set the favicon for my webpage , but nothing. |
Beta Was this translation helpful? Give feedback.
-
Try looking at mine. mapfumo.github.io
…On Mon, May 27, 2024 at 8:03 AM Laurence Sadler ***@***.***> wrote:
Still unable to get this working. Is there something else that needs to be
enabled?
—
Reply to this email directly, view it on GitHub
<#953 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABCVNNRDGDDUW36L72NOLJ3ZEJL33AVCNFSM5ZHKQBG2U5DIOJSWCZC7NNSXTOKENFZWG5LTONUW63SDN5WW2ZLOOQ5TSNJWGQZTGOA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
@keitng @KarlEmilArvid @perhapzz
hugo-PaperMod/config.yml
Lines 171 to 177 in be00e5a