实验室链接
This commit is contained in:
@@ -19,11 +19,11 @@
|
||||
</section>
|
||||
<% } %>
|
||||
|
||||
<% if (theme.friends.enable && theme.friends['list']) { %>
|
||||
<!-- 友情链接 -->
|
||||
<% if (theme.links.enable && theme.links['list']) { %>
|
||||
<!-- 常用链接 -->
|
||||
<section class="widget">
|
||||
<h3 class="widget-hd"><strong>友情链接</strong></h3>
|
||||
<%- partial('_widget/friend_links') %>
|
||||
<h3 class="widget-hd"><strong>常用链接</strong></h3>
|
||||
<%- partial('_widget/links') %>
|
||||
</section>
|
||||
<% } %>
|
||||
</aside>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
<!-- 友情链接 -->
|
||||
<ul class="widget-bd">
|
||||
<% for (var i in theme.friends['list']) { %>
|
||||
<li>
|
||||
<a href="<%= list[i].link %>" target="_blank" title="<%= theme.friends['list'][i].title %>"><%= theme.friends['list'][i].name %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
@@ -0,0 +1,8 @@
|
||||
<!-- 常用链接 -->
|
||||
<ul class="widget-bd">
|
||||
<% for (var i in theme.links['list']) { %>
|
||||
<li>
|
||||
<a href="<%= theme.links.list[i].link %>" target="<%= theme.links.list[i].target || '_blank' %>" ><%= theme.links.list[i].name %></a>
|
||||
</li>
|
||||
<% } %>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user