mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
FIX: Do not display broken image on crawler/print view (#6575)
This commit is contained in:
parent
9a34c6153e
commit
37fb8fc0e7
@ -22,7 +22,13 @@
|
||||
<body class="crawler">
|
||||
<%= theme_lookup("header") %>
|
||||
<header>
|
||||
<a href="<%= path "/" %>"><img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo" style="max-width: 150px;"></a>
|
||||
<a href="<%= path "/" %>">
|
||||
<%- if SiteSetting.logo_url.present? %>
|
||||
<img src="<%=SiteSetting.logo_url%>" alt="<%=SiteSetting.title%>" id="site-logo" style="max-width: 150px;">
|
||||
<%- else %>
|
||||
<h1><%=SiteSetting.title%></h1>
|
||||
<% end %>
|
||||
</a>
|
||||
</header>
|
||||
<div id="main-outlet" class="wrap">
|
||||
<%= yield %>
|
||||
|
Loading…
Reference in New Issue
Block a user