mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: footer was missing in some pages
- error pages - search results pages - list of all tags - topics list of a specific tag - user leaderboard
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<%- unless customization_disabled? %>
|
||||
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
||||
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
||||
<%- end %>
|
||||
<header>
|
||||
<a href="<%= path "/" %>"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo"></a>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<%- unless customization_disabled? %>
|
||||
<%= SiteCustomization.custom_header(session[:preview_style]) %>
|
||||
<%= SiteCustomization.custom_header(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
||||
<%- end %>
|
||||
<section id='main'>
|
||||
<%= render partial: 'header' %>
|
||||
@@ -24,5 +24,8 @@
|
||||
<%= yield %>
|
||||
</div>
|
||||
</section>
|
||||
<%- unless customization_disabled? %>
|
||||
<%= SiteCustomization.custom_footer(session[:preview_style], mobile_view? ? :mobile : :desktop) %>
|
||||
<%- end %>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user