|
|
@ -1,5 +1,9 @@ |
|
|
|
<section class='m_widget links'> |
|
|
|
<section class='m_widget links'> |
|
|
|
<div class='header'><i class="fas fa-handshake fa-fw" aria-hidden="true"></i> 友链</div> |
|
|
|
<div class='header'><div><i class="fas fa-handshake fa-fw" aria-hidden="true"></i> 友链</div> |
|
|
|
|
|
|
|
<% if(config.email) { %> |
|
|
|
|
|
|
|
<a class="addlink" title="联系博主添加友链" target="_blank" rel="external nofollow noopener noreferrer" href="mailto:<%= config.email %>?subject=交换友链&body=你好,我想和你交换友链,我已经将【<%= config.title %>】添加到我的博客的友链中。我的博客链接是:"><i class="fas fa-plus fa-fw"></i></a> |
|
|
|
|
|
|
|
<%} %> |
|
|
|
|
|
|
|
</div> |
|
|
|
<div class='content'> |
|
|
|
<div class='content'> |
|
|
|
<ul class="entry" id="links"> |
|
|
|
<ul class="entry" id="links"> |
|
|
|
<% (config.widgets.links||[]).forEach(function(item){ %> |
|
|
|
<% (config.widgets.links||[]).forEach(function(item){ %> |
|
|
@ -8,21 +12,12 @@ |
|
|
|
<% if(item.avatar) { %> |
|
|
|
<% if(item.avatar) { %> |
|
|
|
<img src="<%= item.avatar %>"> |
|
|
|
<img src="<%= item.avatar %>"> |
|
|
|
<% } else { %> |
|
|
|
<% } else { %> |
|
|
|
<i class="fa fa-user-circle fa-fw" aria-hidden="true"></i> |
|
|
|
<i class="fas fa-user-circle fa-fw" aria-hidden="true"></i> |
|
|
|
<% } %> |
|
|
|
<% } %> |
|
|
|
<%= item.name %> |
|
|
|
<%= item.name %> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</a></li> |
|
|
|
</a></li> |
|
|
|
<% }) %> |
|
|
|
<% }) %> |
|
|
|
<% if(config.email) { %> |
|
|
|
|
|
|
|
<li><a class="flat-box" target="_blank" rel="external nofollow noopener noreferrer" href="mailto:<%= config.email %>?subject=交换友链&body=你好,我想和你交换友链,我已经将【<%= config.title %>】添加至我的博客的友链中。我的博客链接是:"> |
|
|
|
|
|
|
|
<div class='name'> |
|
|
|
|
|
|
|
<i class="fa fa-envelope fa-fw" aria-hidden="true"></i> |
|
|
|
|
|
|
|
联系博主交换友链 |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</a></li> |
|
|
|
|
|
|
|
<%} %> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ul> |
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
|
|
</div> |
|
|
|
</div> |
|
|
|