diff --git a/.github/ISSUE_TEMPLATE/bug-report.md b/.github/ISSUE_TEMPLATE/bug-report.md index cb26aa3..e25eaa9 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.md +++ b/.github/ISSUE_TEMPLATE/bug-report.md @@ -1,7 +1,7 @@ --- name: Bug Report about: 确认存在并反馈一个BUG -title: "[BUG] " +title: '' labels: BUG assignees: '' diff --git a/.github/ISSUE_TEMPLATE/question-report.md b/.github/ISSUE_TEMPLATE/question-report.md index 70df6fc..782439b 100644 --- a/.github/ISSUE_TEMPLATE/question-report.md +++ b/.github/ISSUE_TEMPLATE/question-report.md @@ -1,7 +1,7 @@ --- name: Question Report about: 主题使用遇到问题(通过阅读文档和查看示例博客源码仍无法解决) -title: "[求助]" +title: '' labels: 疑问 assignees: '' diff --git a/README.md b/README.md index 5682c49..ca5f841 100755 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Material X +# Volantis A minimalist card-style Hexo blog theme. @@ -16,7 +16,7 @@ A minimalist card-style Hexo blog theme. #### Easy to extend -- Use the [import](https://xaoxuu.com/wiki/material-x/config/#import) field to easily import css and js into the theme. +- Use the [import](https://xaoxuu.com/wiki/volantis/config/#import) field to easily import css and js into the theme. #### Mobile optimization @@ -24,7 +24,7 @@ A minimalist card-style Hexo blog theme. #### Support for more features -- Supports 4 comment systems: Disqus, Gitalk, La BiLi and Valin comments. +- Support 4 comment systems: Disqus, Gitalk, LiveRe and Valine. - Provide themed CDN, or customize CDN. - Use card design elements and interactive animations. - Use fontawesome 5.6.3 free icon. @@ -44,7 +44,7 @@ A minimalist card-style Hexo blog theme. | [@xaoxuu](https://xaoxuu.com) | Not open source yet | myblog branch effect | -- **For more examples, please see [#Example Blog](https://github.com/xaoxuu/hexo-theme-material-x/issues/97)** +- **For more examples, please see [#Example Blog](https://github.com/xaoxuu/hexo-theme-volantis/issues/97)** @@ -70,7 +70,7 @@ hexo.sh i x 1. Download theme to `themes /` folder ```bash -git clone https://github.com/xaoxuu/hexo-theme-material-x themes / material-x +git clone https://github.com/xaoxuu/hexo-theme-volantis themes/volantis ``` 2. Then install the necessary dependencies @@ -84,14 +84,14 @@ npm i -S hexo-generator-search hexo-generator-json-content hexo-renderer-less ## Documentation -https://xaoxuu.com/wiki/material-x/ +https://xaoxuu.com/wiki/volantis/


-# Material X +# Volantis 一个简约的卡片式Hexo博客主题。 @@ -109,7 +109,7 @@ https://xaoxuu.com/wiki/material-x/ #### 易于扩展 -- 使用 [import](https://xaoxuu.com/wiki/material-x/config/#import) 字段方便导入css和js到主题中。 +- 使用 [import](https://xaoxuu.com/wiki/volantis/config/#import) 字段方便导入css和js到主题中。 #### 移动端优化 @@ -137,7 +137,7 @@ https://xaoxuu.com/wiki/material-x/ | [@xaoxuu](https://xaoxuu.com) | 暂未开源 | myblog分支效果 | -- **更多示例请见 [#示例博客](https://github.com/xaoxuu/hexo-theme-material-x/issues/97)** +- **更多示例请见 [#示例博客](https://github.com/xaoxuu/hexo-theme-volantis/issues/97)** @@ -163,7 +163,7 @@ hexo.sh i x 1. 下载主题到 `themes/` 文件夹 ```bash -git clone https://github.com/xaoxuu/hexo-theme-material-x themes/material-x +git clone https://github.com/xaoxuu/hexo-theme-volantis themes/volantis ``` 2. 然后安装必要的依赖包 @@ -177,4 +177,4 @@ npm i -S hexo-generator-search hexo-generator-json-content hexo-renderer-less ## 文档 -https://xaoxuu.com/wiki/material-x/ +https://xaoxuu.com/wiki/volantis/ diff --git a/_config.yml b/_config.yml index 3a2b196..e2fba55 100755 --- a/_config.yml +++ b/_config.yml @@ -1,17 +1,17 @@ ############################### 主题基本信息 ############################### info: name: Volantis - version: 1.5 - docs: https://xaoxuu.com/wiki/material-x/ + version: 1.5.2 + docs: https://xaoxuu.com/wiki/volantis/ cdn: # 要使用CDN,请在根目录的config文件中写上 use_cdn: true css: - style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@20.2.22/css/style.css + style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.25/css/style.css js: - app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@20.2/js/app.js - search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@20.2/js/search.js + app: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/app.js + search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/search.js volantis: https://cdn.jsdelivr.net/gh/xaoxuu/volantis@1.0.6/js/volantis.min.js - backstretch: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@20.2/js/backstretch.min.js - commentTyping: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-material-x@20.2/js/commentTyping.js + backstretch: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/backstretch.min.js + commentTyping: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/commentTyping.js ############################### 服务开关 ############################### @@ -41,6 +41,8 @@ style: # 有背景图:开启毛玻璃,关闭卡片阴影 # 无背景图:关闭毛玻璃,开启卡片阴影 +# readmore: true + # 幻灯片背景 backstretch: position: background # cover: 封面背景 background: 整个网页背景 @@ -121,13 +123,30 @@ navbar: target: _self # 手机端导航菜单(从右上角的按钮点击展开) on_mobile: - - name: 近期文章 - icon: fas fa-clock - url: / - - name: 关于小站 - icon: fas fa-info-circle - url: about/ + - name: 开始使用 + icon: fas fa-download + url: start + rel: nofollow + target: _self + - name: 站点配置 + icon: fas fa-cogs + url: site-settings + target: _self + - name: 主题配置 + icon: fas fa-palette + url: theme-settings rel: nofollow + target: _self + - name: 页面配置 + icon: fas fa-file-alt + url: page-settings + rel: nofollow + target: _self + - name: 进阶设定 + icon: fas fa-flask + url: advanced-settings + rel: nofollow + target: _self search: 搜索文档 # 搜索框文字 @@ -309,9 +328,9 @@ widget: # fancybox: true # 是否允许点击放大 images: - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png - # - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png - # - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png - # - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png + - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png + - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png + - https://img.vim-cn.com/4e/3c87a2fd28fd0b9c2f27ce3f83f1e9275d0488.png # --------------------------------------- # 自定义组件,仿照如下写法 - id: huan_ying # 唯一标识,自己命名,建议全英文 diff --git a/layout/_meta/tags.ejs b/layout/_meta/tags.ejs index f93b9af..72402b3 100644 --- a/layout/_meta/tags.ejs +++ b/layout/_meta/tags.ejs @@ -1,4 +1,4 @@ -<% if (!isPostList && post.tags && post.tags.length) { %> +<% if (post.tags && post.tags.length) { %> <% var items = []; post.tags.each(function(item){ diff --git a/layout/_partial/archive.ejs b/layout/_partial/archive.ejs index 033fd94..16d9501 100755 --- a/layout/_partial/archive.ejs +++ b/layout/_partial/archive.ejs @@ -35,27 +35,24 @@ <% if (page.total > 1) { %>
-
- <% if (page.prev != 0) { %> - - <% } %> -

- <%= page.current%> / <%= page.total%> -

- <% if (page.next != 0) { %> - - <% } %> -
+ <% if (page.prev != 0) { %> + + <% } %> +

+ <%= page.current%> / <%= page.total%> +

+ <% if (page.next != 0) { %> + + <% } %>
- <% } %> <% diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 05c63d1..df876f4 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,4 +1,4 @@ - + <% diff --git a/layout/_partial/header.ejs b/layout/_partial/header.ejs index 882326a..1293dc6 100755 --- a/layout/_partial/header.ejs +++ b/layout/_partial/header.ejs @@ -64,7 +64,7 @@ -