2020-12-22 18:19:41 +08:00
|
|
|
<% if (theme.particles.enable && is_home() && !page.prev) { %>
|
|
|
|
<%- partial('_partial/particles/particles.ejs') %>
|
|
|
|
<% } %>
|
2020-11-19 11:58:54 +08:00
|
|
|
<div class="first-screen-container flex-center">
|
|
|
|
<div class="content flex-center">
|
2020-11-15 22:06:32 +08:00
|
|
|
<div class="description">
|
2020-11-20 12:02:22 +08:00
|
|
|
<%= theme.style.first_screen.description || config.description %>
|
2020-11-15 22:06:32 +08:00
|
|
|
</div>
|
|
|
|
<% if (theme.social_contact.enable) { %>
|
2020-11-27 14:49:53 +08:00
|
|
|
<ul 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') { %>
|
2020-11-27 14:49:53 +08:00
|
|
|
<li class="s-icon-item <%= key %>">
|
2020-11-15 22:06:32 +08:00
|
|
|
<a href="mailto:<%- url_for(theme.social_contact.links[key]) %>">
|
2020-11-24 10:55:24 +08:00
|
|
|
<i class="fas fa-envelope"></i>
|
2020-11-15 22:06:32 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<% } else { %>
|
2020-11-27 14:49:53 +08:00
|
|
|
<li class="s-icon-item <%= key %>">
|
2020-11-15 22:06:32 +08:00
|
|
|
<a href="<%- url_for(theme.social_contact.links[key]) %>">
|
2020-11-24 10:55:24 +08:00
|
|
|
<i class="fab fa-<%= key %>"></i>
|
2020-11-15 22:06:32 +08:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<% } %>
|
|
|
|
<% } %>
|
|
|
|
<% } %>
|
|
|
|
</ul>
|
|
|
|
<% } %>
|
|
|
|
</div>
|
2020-11-13 14:43:22 +08:00
|
|
|
</div>
|