discourse/app/views/application/_header.html.erb

20 lines
608 B
Plaintext
Raw Normal View History

<%= replace_plugin_html('server:simple-header') do %>
<header class="d-header">
<div class="wrap">
<div class="contents">
<div class="row">
<div class="logo-wrapper">
<a href="<%= path "/" %>">
<%- if application_logo_url.present? %>
2018-11-23 22:04:42 +08:00
<img src="<%= application_logo_url %>" alt="<%= SiteSetting.title %>" id="site-logo">
<%- else %>
<h2 id='site-text-logo'><%= SiteSetting.title %></h2>
<%- end %>
</a>
</div>
</div>
</div>
</div>
</header>
<% end %>