blog/themes/typing/layout/_partial/footer.ejs

32 lines
1.2 KiB
Plaintext
Raw Normal View History

2018-09-10 09:21:59 +00:00
<% if (is_home()) { %>
<footer id="footer" class="home-footer footer">
<div id="copyright" class="copyright">
&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %> <%= __('powered_by') %> <a href="http://hexo.io/" target="_blank">Hexo</a> Theme &copy; <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>