favicon AEM 6.5 | Community
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.
Best answer by poojac_2204

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. 

 

2 replies

Level 2
September 26, 2022

how to set favicon from policy ?

or How to set favicon on page ?

 

Level 2
September 26, 2022

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 


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">

July 23, 2024