You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

44 lines
1.6 KiB

<div class='cover-body'>
<div class='a'>
<% if (theme.cover.logo) { %>
<img class='logo' src='<%- url_for(theme.cover.logo) %>'/>
<% } %>
<% if (theme.cover.title) { %>
<p class="title"><%- theme.cover.title ? theme.cover.title : config.title %></p>
<% } %>
<% if (theme.cover.subtitle) { %>
<p class="subtitle"><%- theme.cover.subtitle%></p>
<% } %>
</div>
<div class='b'>
<% if (theme.search.enable === true) { %>
<div class="m_search">
<form name="searchform" class="form u-search-form">
<input type="text" class="input u-search-input" placeholder="<%- theme.cover && theme.cover.search %>" />
<i class="icon fas fa-search fa-fw"></i>
</form>
</div>
<% } %>
<div class='menu navigation'>
<ul class='cover-list-h'>
<% if (theme.cover.features) { %>
<% (theme.cover.features || []).forEach(function(value){ %>
<li>
<a class="nav home"
href="<%= url_for(value.url) %>"
<% if (value.rel) { %>
rel="<%- value.rel %>"
<% } %>
<% if (value.target) { %>
target="<%- value.target %>"
<% } %>
id="<%= url_for(value.url).replace(/\/|%|\./g, "")?url_for(value.url).replace(/\/|%|\./g, ""):"home" %>">
<% if (value.icon) { %><i class='<%= value.icon %> fa-fw'></i><% } %><%- value.name %>
</a>
</li>
<%})%>
<% } %>
</ul>
</div>
</div>
</div>