hexo-theme-keep/layout/_partial/first-screen.ejs

32 lines
1.4 KiB
Plaintext
Raw Normal View History

<div class="first-screen-container flex-center fade-in-down-animation">
2020-11-19 11:58:54 +08:00
<div class="content flex-center">
2022-04-27 14:30:06 +08:00
<div class="description hitokoto">
2020-11-20 12:02:22 +08:00
<%= theme.style.first_screen.description || config.description %>
2020-11-15 22:06:32 +08:00
</div>
2022-04-27 14:30:06 +08:00
<% if (theme.style.first_screen.hitokoto) { %>
<script data-pjax="" src="<%- theme.style.first_screen.hitokoto %>"></script>
<% } %>
2020-11-15 22:06:32 +08:00
<% if (theme.social_contact.enable) { %>
<div class="s-icon-list">
2020-11-15 22:06:32 +08:00
<% for (const key in theme.social_contact.links) { %>
<% if(theme.social_contact.links[key]) { %>
<% if(key === 'email') { %>
<span class="s-icon-item <%= key %>">
2020-12-12 20:25:56 +08:00
<a href="mailto:<%- theme.social_contact.links[key] %>">
<i class="fas fa-envelope"></i>
2020-11-15 22:06:32 +08:00
</a>
</span>
2020-11-15 22:06:32 +08:00
<% } else { %>
<span class="s-icon-item <%= key %>">
2020-12-12 20:25:56 +08:00
<a target="_blank" href="<%- theme.social_contact.links[key] %>">
<i class="fab fa-<%= key %>"></i>
2020-11-15 22:06:32 +08:00
</a>
</span>
2020-11-15 22:06:32 +08:00
<% } %>
<% } %>
<% } %>
</div>
2020-11-15 22:06:32 +08:00
<% } %>
</div>
2020-11-13 14:43:22 +08:00
</div>