mirror of https://gitlab.com/curben/blog
Fix CSS layout of /about page
Remove reference to header and footer
This commit is contained in:
parent
e4495c643e
commit
bab8a481a9
|
@ -1,7 +1,7 @@
|
|||
<% if (is_home()) { %>
|
||||
<footer id="footer" class="home-footer footer">
|
||||
<div id="copyright" class="copyright">
|
||||
© <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %> <%= __('powered_by') %> <a href="http://hexo.io/" target="_blank">Hexo</a> Theme © <a href="https://github.com/geekplux" target="_blank">GeekPlux</a>
|
||||
© <%= 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>
|
||||
|
|
|
@ -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 { %>
|
||||
|
|
Loading…
Reference in New Issue