Forum Discussion
ArndR
6 years agoAdvisor
A very good idea, PerBonomi !
As I have always a lot of tabs open, I also had the problem that you couldn't tell which tab is Prod and which Stage.
I added the following to the header analogous to your version:
<#attempt>
<#if config.getString("phase", "prod") == "stage">
<link rel="icon" href="${asset.get("/html/assets/favicon-stage.ico")}">
<#else>
<link rel="icon" href="${asset.get("/html/assets/favicon.ico")}">
</#if>
<#recover>
<link rel="icon" href="${asset.get("/html/assets/favicon.ico")}">
</#attempt>
Related Content
- 6 years ago
- 7 years ago