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

17 lines
896 B
Plaintext
Raw Normal View History

<%/* Display footer on every page */%>
2018-09-19 04:14:12 +00:00
<%/* Use different CSS layout for different page layout */%>
2019-10-17 10:19:42 +00:00
<% if (is_post()) { %>
2018-09-19 04:14:12 +00:00
<footer id="footer" class="post-footer footer">
<hr>
<% } else { %>
<footer id="footer" class="archive-footer footer">
<hr>
<% } %>
<div id="copyright" class="copyright">
2020-03-25 01:48:04 +00:00
&copy; 2018-<%= new Date().getUTCFullYear() %> <%= config.author %>. <%- link('https://gitlab.com/curben/blog', 'Powered by ') %> <%- link('https://hexo.io/', 'Hexo') %> with <%- link('https://gitlab.com/curben/blog/tree/master/themes/chameleon', 'Chameleon') %> theme. <br/>Content is available under <a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="license" itemprop="license">CC-BY-SA 4.0</a>, unless indicated otherwise.<br/>
<% for (const i in theme.footer) { %>
<a class="main-nav-link" href="<%- url_for(theme.footer[i]) %>"><%= i %></a>
<% } %>
</div>
</footer>