hexo-theme-icarus/layout/_widget/links.ejs

15 lines
353 B
Plaintext
Raw Normal View History

2015-03-20 09:29:51 +00:00
<% if (site.posts.length){ %>
<div class="widget-wrap widget-list">
<h3 class="widget-title"><%= __('sidebar.links') %></h3>
<div class="widget">
<ul>
<% for (var i in theme.links){ %>
<li>
<a href="<%- theme.links[i] %>"><%= i %></a>
</li>
<% } %>
</ul>
</div>
</div>
<% } %>