hexo-theme-keep/layout/_partial/friends-link.ejs

25 lines
967 B
Plaintext
Raw Normal View History

<div class="friends-link-container">
<ul class="friends-link-list">
<% for (const f of theme.links) { %>
<li class="friends-link-item">
<a href="<%= f.link %>">
<div class="content">
<div class="avatar radius">
<% if (f.avatar) { %>
<img class="radius" alt="<%= f.name %>" src="<%= f.avatar %>">
<% } else { %>
<i class="fas fa-user-friends"></i>
<% } %>
</div>
<div class="info">
<div class="name"><%= f.name %></div>
<div class="description"><%= f.description %></div>
</div>
</div>
</a>
</li>
<% } %>
</ul>
<div class="clear"></div>
</div>