mirror of https://gitlab.com/curben/blog
Fix footer layout
This commit is contained in:
parent
2e3dad934c
commit
3097977050
|
@ -1,7 +1,15 @@
|
|||
<%/* Display footer on every page */%>
|
||||
<footer id="footer" class="footer">
|
||||
<%/* Use different CSS layout for different page layout */%>
|
||||
<% if (is_current('about/index.html')) { %>
|
||||
<footer id="footer" class="home-footer footer">
|
||||
<% } else if (is_post()) { %>
|
||||
<footer id="footer" class="post-footer footer">
|
||||
<hr>
|
||||
<% } else { %>
|
||||
<footer id="footer" class="archive-footer footer">
|
||||
<hr>
|
||||
<% } %>
|
||||
<div id="copyright" class="copyright">
|
||||
© <%= date(new Date(), 'YYYY') %> <%= config.author %>. <%= __('powered_by') %> <%- link_to('https://hexo.io/', 'Hexo', {external: true}) %> with <%- link_to('https://github.com/geekplux/hexo-theme-typing', 'Typing', {external: true}) %> theme. <br>Content is licensed under <%- link_to('https://creativecommons.org/licenses/by-sa/4.0/', 'CC-BY-SA 4.0', {external: true}) %>.
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
</footer>
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue