Fix footer layout

This commit is contained in:
curben 2018-09-19 13:44:12 +09:30
parent 2e3dad934c
commit 3097977050
2 changed files with 16 additions and 6 deletions

View File

@ -1,7 +1,15 @@
<%/* Display footer on every page */%> <%/* 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"> <div id="copyright" class="copyright">
&copy; <%= 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}) %>. &copy; <%= 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> </div>
</footer> </footer>

File diff suppressed because one or more lines are too long