fediparty/themes/starter/layout/_partial/sidebar.ejs

20 lines
416 B
Plaintext
Raw Normal View History

2018-03-12 19:31:14 +00:00
<%
let sbClass = '';
if (is_root()) {
sbClass = 'sidebar i-sidebar';
} else {
sbClass = 'sidebar g-sidebar';
}
%>
<aside class="<%= sbClass %>">
<a href="/" class="f-logo" aria-labelledby="fLogo">
<svg role="img">
<title id="fLogo">Fediverse logo</title>
<use xlink:href="#icon-logo"></use>
</svg>
</a>
<% if (is_root()) { %> <%- partial('./buttons') %> <% } %>
</aside>