hexo-theme-keep/layout/common/site-info.ejs

33 lines
1.1 KiB
Plaintext

<div class="site-info">
<div class="avatar-container">
<%- image_tag(theme.avatar, {class: 'avatar'}) %>
</div>
<div class="title">
<a href="/"><%= config.title %></a>
</div>
<div class="description">
<%= config.description %>
</div>
<!-- 社交链接 -->
<div class="links-of-author-container">
<ul class="links-of-author-list">
<% for (let link in theme.social) { %>
<% const linkItem = theme.social[link].split(' || ') %>
<li class="links-of-author-item">
<a href="<%= linkItem[0] %>"
target="_blank"
title="<%= link %>"
><i class="fa fa-<%= linkItem[1] %>"></i></a>
</li>
<% } %>
</ul>
</div>
<!-- 知识共享标识 -->
<div class="cc-license-container">
<a class="cc-opacity" href="https://creativecommons.org/licenses/by-nc-sa/4.0/" target="_blank">
<img src="/images/cc-by-nc-sa.svg">
</a>
</div>
</div>