You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.7 KiB
60 lines
2.7 KiB
<%- partial('_pre') %> |
|
<div class='l_main<%- page.sidebar == false ? ' no_sidebar' : '' %>'> |
|
<article id="<%= page.layout %>" class="post white-box <%- theme.style.shadow.card ? 'card-shadow' : '' %> <%- theme.style.blur && theme.style.blur.body ? 'body-blur' : '' %> article-type-<%= page.layout %>" itemscope itemprop="blogPost"> |
|
<%- partial('_partial/meta',{post:page, position:'header'}) %> |
|
<section class="article typo l_friends"> |
|
<%- page.excerpt %> |
|
<% if (page.links){ %> |
|
<% (page.links||[]).forEach(function(group){ %> |
|
<% if(group.items) { %> |
|
<div class='friends-group'> |
|
<% if(group.group) { %> |
|
<br> |
|
<h3 class='friend-header'> |
|
<% if (group.icon) { %> |
|
<i class="<%= group.icon %> fa-fw" aria-hidden="true"></i> |
|
<%} %> |
|
<%= group.group %> |
|
</h3> |
|
<%} %> |
|
<div class='friend-content'> |
|
<% (group.items||[]).forEach(function(item){ %> |
|
<a class='friend-card' style='background:<%- item.backgroundColor %>; color:<%- item.textColor %>' |
|
target="_blank" rel="external nofollow noopener noreferrer" href='<%- url_for(item.url || '') %>'> |
|
<div class='friend-left'> |
|
<% if(item.avatar){ %> |
|
<img class='avatar' src='<%- item.avatar %>'/> |
|
<% } %> |
|
</div> |
|
<div class='friend-right'> |
|
<p class="friend-name"><%- item.name %></p> |
|
<% if(item.tags){ %> |
|
<div class='friend-tags-wrapper'> |
|
<% (item.tags||[]).forEach(function(tag){ %> |
|
<p class="tags"><i class="fas fa-hashtag fa-fw" aria-hidden="true"></i><%= tag %></p> |
|
<% }) %> |
|
</div> |
|
<% } %> |
|
<% if(item.desc){ %> |
|
<div class='friend-tags-wrapper'> |
|
<p class="tags"><%= item.desc %></p> |
|
</div> |
|
<% } %> |
|
</div> |
|
</a> |
|
<% }) %> |
|
</div> |
|
</div> |
|
<%} %> |
|
<% }) %> |
|
<% } %> |
|
<br><br> |
|
<%- page.more %> |
|
</section> |
|
</article> |
|
|
|
<%- partial('_third-party/comments') %> |
|
|
|
</div> |
|
<%- partial('_partial/side') %> |
|
<%- partial('_partial/footer', null, {cache: !config.relative_link}) %>
|
|
|