1
0
mirror of https://git.feneas.org/feneas/fediverse.git synced 2024-12-23 09:17:59 +01:00
guida-fediverso/themes/starter/layout/_partial/sidebar.ejs
2018-03-12 22:31:14 +03:00

20 lines
416 B
Plaintext

<%
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>