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()) { %> <% if (is_home()) { %>
<footer id="footer" class="home-footer footer"> <footer id="footer" class="home-footer footer">
<div id="copyright" class="copyright"> <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()) { %> <% } else if (is_archive()) { %>
<footer id="footer" class="archive-footer footer"> <footer id="footer" class="archive-footer footer">
<% if (theme.icons){ %> <% if (theme.icons){ %>
@ -13,7 +13,7 @@
<% } %> <% } %>
<hr/> <hr/>
<div id="footerContent" class="footer-content"> <div id="footerContent" class="footer-content">
<%- markdown(theme.archive_footer_content) %> <!--%- markdown(theme.archive_footer_content) %-->
<% } else {%> <% } else {%>
<footer id="footer" class="post-footer footer"> <footer id="footer" class="post-footer footer">
<% if (theme.icons){ %> <% if (theme.icons){ %>
@ -25,7 +25,7 @@
<% } %> <% } %>
<hr/> <hr/>
<div id="footerContent" class="footer-content"> <div id="footerContent" class="footer-content">
<%- markdown(theme.post_footer_content) %> <!--%- markdown(theme.post_footer_content) %-->
<% } %> <% } %>
</div> </div>
</footer> </footer>

View File

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