Fix CSS layout of /about page

Remove reference to header and footer
This commit is contained in:
curben 2018-09-16 12:09:27 +09:30
parent e4495c643e
commit bab8a481a9
2 changed files with 5 additions and 4 deletions

View File

@ -1,7 +1,7 @@
<% 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>
&copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %>. <%= __('powered_by') %> <a href="https://hexo.io/" target="_blank">Hexo</a> with <a href="https://github.com/geekplux/hexo-theme-typing" target="_blank">Typing</a> theme.
<% } else if (is_archive()) { %>
<footer id="footer" class="archive-footer footer">
<% if (theme.icons){ %>
@ -13,7 +13,7 @@
<% } %>
<hr/>
<div id="footerContent" class="footer-content">
<%- markdown(theme.archive_footer_content) %>
<!--%- markdown(theme.archive_footer_content) %-->
<% } else {%>
<footer id="footer" class="post-footer footer">
<% if (theme.icons){ %>
@ -25,7 +25,7 @@
<% } %>
<hr/>
<div id="footerContent" class="footer-content">
<%- markdown(theme.post_footer_content) %>
<!--%- markdown(theme.post_footer_content) %-->
<% } %>
</div>
</footer>

View File

@ -1,5 +1,6 @@
<%- partial('_partial/head') %>
<% if (is_home()) { %>
<!-- set /about page to use "home" page layout -->
<% if (is_current('about/index.html')) { %>
<% if (theme.dark) { %>
<body class="home-body dark">
<% } else { %>