feat: Use portal logo as favicon in helpcenter pages (#11289)
- Added favicon link to portal layout when logo is present - Added tests to verify favicon behavior with and without logo
This commit is contained in:
@@ -39,6 +39,10 @@ By default, it renders:
|
||||
<% else %>
|
||||
<title><%= @portal.page_title%></title>
|
||||
<% end %>
|
||||
|
||||
<% if @portal.logo.present? %>
|
||||
<link rel="icon" href="<%= url_for(@portal.logo) %>">
|
||||
<% end %>
|
||||
|
||||
<% unless @theme_from_params.blank? %>
|
||||
<%# this adds the theme from params, ensuring that there a localstorage value set %>
|
||||
|
||||
Reference in New Issue
Block a user