fix:styles

This commit is contained in:
shenyu
2019-12-05 22:17:35 +08:00
parent ad3e197395
commit b7dd081c74
7 changed files with 23 additions and 20 deletions

View File

@@ -8,11 +8,13 @@
<h1><a href="<%- url_for() %>"><%= config.title %></a></h1>
<h2><%= config.subtitle %></h2>
<div>
<% if (theme.cover.logo) { %>
<img
src="<%- theme.cover.logo %>"
class="cover-logo"
alt="<%= config.title %>"
/>
<% } %>
</div>
</div>
</div>

View File

@@ -9,7 +9,7 @@
<li>
<% if (theme.pageFooter){ %>
<% var hexoLink = '<a href="https://hexo.io" target="_blank">Hexo</a>'; %>
<% var themeLink = '<a href="https://hexo.io" target="_blank">Ayer</a>'; %>
<% var themeLink = '<a href="https://github.com/Shen-Yu/hexo-theme-ayer" target="_blank">Ayer</a>'; %>
<%- hexoLink %> Theme <%- themeLink %> by shenyu
<% } %>
</li>

View File

@@ -1,7 +1,4 @@
<%- partial('_partial/ayer') %>
<div id="main">
<%- partial('_partial/archive', {pagination: 2, index: true}) %>
<div class="to_top">
<%- partial('_partial/totop') %>
</div>
</div>

View File

@@ -5,6 +5,9 @@
<main class="content">
<%- body %>
<%- partial('_partial/footer', null, {cache: !config.relative_link}) %>
<div class="to_top">
<%- partial('_partial/totop') %>
</div>
</main>
<% if (theme.toc && is_post()){ %>
<aside class="sidebar">