hexo-theme-stellar/layout/_partial/sidebar/logo.ejs

16 lines
646 B
Plaintext

<div class='logo-wrap'>
<% if (md_text(theme.sidebar.logo.avatar)) { %>
<a class='avatar' href='<%- url_for(md_link(theme.sidebar.logo.avatar) || "/") %>'>
<% if (theme.style.animated_avatar.animate) { %>
<img no-lazy class='bg' style='opacity:0' src='<%- theme.style.animated_avatar.background %>'/>
<% } %>
<img no-lazy class='avatar' src='<%- md_text(theme.sidebar.logo.avatar) %>'/>
</a>
<% } %>
<% if (md_text(theme.sidebar.logo.title)) { %>
<a class='title' href='<%- url_for(md_link(theme.sidebar.logo.title) || "/") %>'>
<%- md_text(theme.sidebar.logo.title) %>
</a>
<% } %>
</div>