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

20 lines
440 B
Plaintext

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