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

20 lines
440 B
Plaintext
Raw Normal View History

2018-03-12 20:31:14 +01:00
<%
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">
2018-03-12 20:31:14 +01:00
<svg role="img">
<title id="fLogo">Fediverse.Party logo</title>
2018-03-12 20:31:14 +01:00
<use xlink:href="#icon-logo"></use>
</svg>
</a>
<% if (is_root()) { %> <%- partial('./buttons') %> <% } %>
</aside>