This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
mystic/themes/hueman/layout/common/sidebar.ejs

28 lines
1.0 KiB
Plaintext
Raw Normal View History

2018-09-03 07:41:16 +00:00
<aside id="sidebar">
<a class="sidebar-toggle" title="Expand Sidebar"><i class="toggle icon"></i></a>
<div class="sidebar-top">
<p><%= __('sidebar.follow') %>:</p>
<ul class="social-links">
<% for (var i in theme.customize.social_links) { %>
<% if (theme.customize.social_links[i]) { %>
<li>
<a class="social-tooltip" title="<%= i %>" href="<%- url_for(theme.customize.social_links[i]) %>" target="_blank" rel="noopener">
<i class="icon fa fa-<%= i %>"></i>
</a>
</li>
<% } %>
<% } %>
</ul>
</div>
<% if (is_post()) { %>
<%- partial('post/nav', {post: page}) %>
<% } %>
<div class="widgets-container">
<% if (theme.widgets) { %>
<% theme.widgets.forEach(function(widget) { %>
<%- partial('widget/' + widget, {post: page}) %>
<% }) %>
<% } %>
</div>
</aside>