parent
ab00a4bace
commit
e051b21f6c
2 changed files with 22 additions and 17 deletions
@ -1,15 +1,17 @@ |
|||||||
<section class='m_widget links'> |
<% if (config.materialx && (config.materialx.widgets_links)){ %> |
||||||
<div class='header'><i class="fa fa-link fa-fw" aria-hidden="true"></i> 友链</div> |
<section class='m_widget links'> |
||||||
<div class='content'> |
<div class='header'><i class="fa fa-link fa-fw" aria-hidden="true"></i> 友链</div> |
||||||
<ul class="entry" id="links"> |
<div class='content'> |
||||||
<% ((config.materialx && (config.materialx.widgets_links||[])) || (theme.materialx.widgets_links||[])).forEach(function(item){ %> |
<ul class="entry" id="links"> |
||||||
<li><a class="flat-box" target="_blank" rel="external nofollow noopener noreferrer" href="<%= url_for(item.url) %>"> |
<% (config.materialx && (config.materialx.widgets_links||[])).forEach(function(item){ %> |
||||||
<div class='name'> |
<li><a class="flat-box" target="_blank" rel="external nofollow noopener noreferrer" href="<%= url_for(item.url) %>"> |
||||||
<i class="fa fa-user-circle-o" aria-hidden="true"></i> |
<div class='name'> |
||||||
<%= item.name %> |
<i class="fa fa-user-circle-o" aria-hidden="true"></i> |
||||||
</div> |
<%= item.name %> |
||||||
</a></li> |
</div> |
||||||
<% }) %> |
</a></li> |
||||||
</ul> |
<% }) %> |
||||||
</div> |
</ul> |
||||||
</section> |
</div> |
||||||
|
</section> |
||||||
|
<% } %> |
||||||
|
Loading…
Reference in new issue