diff --git a/README.md b/README.md index fcaeeb1..338b833 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

Ayer

- :desert_island: Ayer is a clean and elegant theme for Hexo, also responsive. If you have any queries or advice during the process of using, Please contact me! My email: shenyu@hotmail.com + :desert_island: Ayer is a clean and elegant theme for Hexo, also responsive. If you have any queries or advice during the process of using, Please contact me! ### [Preview](https://shen-yu.gitee.io) diff --git a/_config.yml b/_config.yml index eed74a5..e5bf6e1 100644 --- a/_config.yml +++ b/_config.yml @@ -1,10 +1,10 @@ # 侧边栏菜单 menu: - Home: / - Archives: /archives - Gallery: http://shenyu-vip.lofter.com - Travel: /tags/旅行/ - About: /2019/about + 主页: / + 目录: /archives + 摄影: http://shenyu-vip.lofter.com + 旅行: /tags/旅行/ + 关于我: /2019/about # 网站图标和侧边栏logo favicon: /favicon.ico @@ -15,24 +15,22 @@ logo: /images/ayer-side.svg cover: enable: true path: /images/cover1.jpg # images目录下附送多张美图,可更换 - logo: /images/ayer.svg + logo: false #/images/ayer.svg,如果不要直接设置成false # 页面顶部进度条 progressBar: ture # 文章配置 # 文章太长,截断按钮文字(在需要截断的行增加此标记:) -excerpt_link: Read More... +excerpt_link: 阅读更多... # 文章分享文字 -share_text: Share -# 搜索文字 -search_text: Search +share_text: 分享 # 分页文字 nav_text: - page_prev: Prev page - page_next: Next page - post_prev: Newer posts - post_next: Older posts + page_prev: 上一页 + page_next: 下一页 + post_prev: 上一篇 + post_next: 下一篇 # 文章页是否显示目录 toc: true diff --git a/layout/_partial/ayer.ejs b/layout/_partial/ayer.ejs index 097ca70..1874b07 100644 --- a/layout/_partial/ayer.ejs +++ b/layout/_partial/ayer.ejs @@ -8,11 +8,13 @@

<%= config.title %>

<%= config.subtitle %>

+ <% if (theme.cover.logo) { %> + <% } %>
diff --git a/layout/_partial/footer.ejs b/layout/_partial/footer.ejs index 48f38f1..f336f3b 100644 --- a/layout/_partial/footer.ejs +++ b/layout/_partial/footer.ejs @@ -9,7 +9,7 @@
  • <% if (theme.pageFooter){ %> <% var hexoLink = 'Hexo'; %> - <% var themeLink = 'Ayer'; %> + <% var themeLink = 'Ayer'; %> <%- hexoLink %> Theme <%- themeLink %> by shenyu <% } %>
  • diff --git a/layout/index.ejs b/layout/index.ejs index 89c4bed..75c06bf 100644 --- a/layout/index.ejs +++ b/layout/index.ejs @@ -1,7 +1,4 @@ <%- partial('_partial/ayer') %>
    <%- partial('_partial/archive', {pagination: 2, index: true}) %> -
    - <%- partial('_partial/totop') %> -
    diff --git a/layout/layout.ejs b/layout/layout.ejs index d43156c..3feaacc 100644 --- a/layout/layout.ejs +++ b/layout/layout.ejs @@ -5,6 +5,9 @@
    <%- body %> <%- partial('_partial/footer', null, {cache: !config.relative_link}) %> +
    + <%- partial('_partial/totop') %> +
    <% if (theme.toc && is_post()){ %>