28 lines
1.0 KiB
Plaintext
28 lines
1.0 KiB
Plaintext
<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>
|