diff --git a/README.md b/README.md
index ca5f841..c88b9ca 100755
--- a/README.md
+++ b/README.md
@@ -55,13 +55,13 @@ A minimalist card-style Hexo blog theme.
### A. Full automatic installation using scripts (currently only macOS is supported)
1. Open a terminal and enter the following command to install the script, see [# hexo.sh](https://xaoxuu.com/wiki/hexo.sh/) for the script document.
-```bash
+```sh
curl -s https://xaoxuu.com/install | sh -s hexo.sh
```
2. After successful installation, open a terminal on your blog path and enter the following command to install the theme and dependencies.
-```bash
-hexo.sh i x
+```sh
+hexo.sh i v
```
@@ -69,12 +69,12 @@ hexo.sh i x
### B. Manual installation
1. Download theme to `themes /` folder
-```bash
+```sh
git clone https://github.com/xaoxuu/hexo-theme-volantis themes/volantis
```
2. Then install the necessary dependencies
-```bash
+```sh
npm i -S hexo-generator-search hexo-generator-json-content hexo-renderer-less
```
@@ -148,13 +148,13 @@ https://xaoxuu.com/wiki/volantis/
### A. 使用脚本全自动安装(目前仅支持macOS)
1. 打开终端输入下面命令安装脚本,脚本文档见[#hexo.sh](https://xaoxuu.com/wiki/hexo.sh/)。
-```bash
+```sh
curl -s https://xaoxuu.com/install | sh -s hexo.sh
```
2. 安装成功后,在你的博客路径打开终端,输入下面命令即可安装主题和依赖包。
-```bash
-hexo.sh i x
+```sh
+hexo.sh i v
```
@@ -162,12 +162,12 @@ hexo.sh i x
### B. 手动安装
1. 下载主题到 `themes/` 文件夹
-```bash
+```sh
git clone https://github.com/xaoxuu/hexo-theme-volantis themes/volantis
```
2. 然后安装必要的依赖包
-```bash
+```sh
npm i -S hexo-generator-search hexo-generator-json-content hexo-renderer-less
```
diff --git a/_config.yml b/_config.yml
index e2fba55..43ce3c0 100755
--- a/_config.yml
+++ b/_config.yml
@@ -5,7 +5,7 @@ info:
docs: https://xaoxuu.com/wiki/volantis/
cdn: # 要使用CDN,请在根目录的config文件中写上 use_cdn: true
css:
- style: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.25/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-volantis@20.2.22/js/app.js
search: https://cdn.jsdelivr.net/gh/xaoxuu/cdn-volantis@20.2.22/js/search.js
@@ -48,6 +48,7 @@ backstretch:
position: background # cover: 封面背景 background: 整个网页背景
duration: 6000 # 持续时间(毫秒)
fade: 2500 # 渐变(毫秒)
+ is_dark: #true # 图片是否是暗色的(调整文字为白色)
images:
- https://i.loli.net/2020/02/08/HNuVoted2mUxILl.jpg
# - https://i.loli.net/2020/02/08/dNJyR4LHtarTqPu.jpg
@@ -63,7 +64,6 @@ cover:
title: Volantis
# logo: assets/logo.png # logo和title只显示一个,若同时设置,则只显示logo
search: 'for Hexo 4.2+'
- # color: '#FFF' # 菜单文字颜色
# 主页封面菜单
features:
- name: 公告
diff --git a/layout/_cover/search.ejs b/layout/_cover/search.ejs
index 16686cb..7a778c0 100755
--- a/layout/_cover/search.ejs
+++ b/layout/_cover/search.ejs
@@ -1,7 +1,7 @@
<% if (theme.cover.logo) { %>
<% } else { %>
-
<%- theme.cover.title ? theme.cover.title : config.title %>
<% } %> <% if (theme.search.enable === true) { %>