2017-11-15 05:31:44 +08:00
|
|
|
<%= replace_plugin_html('server:simple-header') do %>
|
|
|
|
<header class="d-header">
|
|
|
|
<div class="wrap">
|
|
|
|
<div class="contents">
|
|
|
|
<div class="row">
|
2018-11-23 15:04:34 +08:00
|
|
|
<div class="logo-wrapper">
|
2017-11-15 05:31:44 +08:00
|
|
|
<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">
|
2017-11-15 05:31:44 +08:00
|
|
|
<%- else %>
|
|
|
|
<h2 id='site-text-logo'><%= SiteSetting.title %></h2>
|
|
|
|
<%- end %>
|
|
|
|
</a>
|
|
|
|
</div>
|
2015-02-26 00:35:47 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-11-15 05:31:44 +08:00
|
|
|
</header>
|
|
|
|
<% end %>
|