mirror of https://gitlab.com/curben/blog
32 lines
1.2 KiB
Plaintext
32 lines
1.2 KiB
Plaintext
<% if (is_home()) { %>
|
|
<footer id="footer" class="home-footer footer">
|
|
<div id="copyright" class="copyright">
|
|
© <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %> <%= __('powered_by') %> <a href="http://hexo.io/" target="_blank">Hexo</a> Theme © <a href="https://github.com/geekplux" target="_blank">GeekPlux</a>
|
|
<% } else if (is_archive()) { %>
|
|
<footer id="footer" class="archive-footer footer">
|
|
<% if (theme.icons){ %>
|
|
<ul class="footer-links">
|
|
<% for (var key in theme.links) { %>
|
|
<li><a href="<%= theme.links[key] %>"><span class="fa fa-<%= key %>"></span></a></li>
|
|
<% } %>
|
|
</ul>
|
|
<% } %>
|
|
<hr/>
|
|
<div id="footerContent" class="footer-content">
|
|
<%- markdown(theme.archive_footer_content) %>
|
|
<% } else {%>
|
|
<footer id="footer" class="post-footer footer">
|
|
<% if (theme.icons){ %>
|
|
<ul class="footer-links">
|
|
<% for (var key in theme.links) { %>
|
|
<li><a href="<%= theme.links[key] %>"><span class="fa fa-<%= key %>"></span></a></li>
|
|
<% } %>
|
|
</ul>
|
|
<% } %>
|
|
<hr/>
|
|
<div id="footerContent" class="footer-content">
|
|
<%- markdown(theme.post_footer_content) %>
|
|
<% } %>
|
|
</div>
|
|
</footer>
|