Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
poojac_2204Accepted solution
Level 4
Sep 26, 2022 12:14 PM UTC

can we simply add below tag in head.html file ?

 

<link rel="icon" type="image/x-icon" href="/etc.clientlibs/test/clientlibs/clientlib-site/resources/icons/gicon.ico">


yes, you can add it to file  'head.resources.html', residing under the page component.

By default, it takes the path of clientlib resource folder as @arunpatidar has already mentioned. 

 

9 replies

Level 2
Sep 26, 2022 9:02 AM UTC

how to set favicon from policy ?

or How to set favicon on page ?

 

Translate
arunpatidar
Community Advisor
Community Advisor
Sep 26, 2022 9:22 AM UTC

If you are using a core components then it will work with above configuration. 

you can check logic here

https://github.com/adobe/aem-core-wcm-components/blob/e49999b3733ceb487fd40774ac4a15f921713336/content/src/content/jcr_root/apps/core/wcm/components/page/v3/page/head.html#L44 

Translate
Arun Patidar
Jul 23, 2024 7:53 AM UTC