|
|
|
@ -21,32 +21,15 @@ style: pure # pure: 导航栏和标题栏背景是白色 |
|
|
|
|
scrollreveal: true # 页面滚动显示动画 |
|
|
|
|
nodewaves: true # 按钮点击效果 |
|
|
|
|
busuanzi: true # 访问量统计 |
|
|
|
|
aplayer: true # 启用音乐播放器 |
|
|
|
|
# fastclick: true |
|
|
|
|
# commentTyping: true # 文本框打字机特效 |
|
|
|
|
# wordcount: true # 文章字数统计、阅读时长,开启需要安装插件: npm i --save hexo-wordcount |
|
|
|
|
commentTyping: true # 文本框打字机特效 |
|
|
|
|
# wordcount: true # 文章字数统计、阅读时长,开启需要安装插件: npm i --save hexo-wordcount |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
############################### 默认值 ############################### |
|
|
|
|
# 音乐控件的默认配置,如果sidebar或者page里没有提供,就取这里的参数 |
|
|
|
|
music: |
|
|
|
|
enable: true # 是否启用 |
|
|
|
|
color: '#1BCDFC' # 主题色 |
|
|
|
|
mode: circulation # random (随机) single (单曲) circulation (列表循环) order (列表) |
|
|
|
|
server: netease # netease(网易云音乐)tencent(QQ音乐) xiami(虾米) kugou(酷狗) |
|
|
|
|
type: playlist # song (单曲) album (专辑) playlist (歌单) search (搜索) |
|
|
|
|
id: 3175833810 # 歌曲/专辑/歌单 ID |
|
|
|
|
volume: 0.7 # 音量, 0~1 |
|
|
|
|
autoplay: false # 自动播放 |
|
|
|
|
|
|
|
|
|
# 友链页头像占位图 |
|
|
|
|
avatar_placeholder: https://cdn.jsdelivr.net/gh/xaoxuu/assets@master/avatar/avatar.png |
|
|
|
|
|
|
|
|
|
# 日期格式 http://momentjs.com/docs/ |
|
|
|
|
date_format: 'YYYY-MM-DD' # 文章发布日期的格式 |
|
|
|
|
updated_date_format: 'll' # 文章更新日期的格式 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 幻灯片 |
|
|
|
|
############################### 自定义 ############################### |
|
|
|
|
# 幻灯片背景 |
|
|
|
|
backstretch: |
|
|
|
|
position: background # cover: 封面背景 background: 整个网页背景 |
|
|
|
|
duration: 6000 # 持续时间(毫秒) |
|
|
|
@ -58,8 +41,6 @@ backstretch: |
|
|
|
|
- https://i.loli.net/2020/02/08/RP7JpGvWaCYfuB6.jpg |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
############################### 自定义 ############################### |
|
|
|
|
# page的封面 |
|
|
|
|
cover: |
|
|
|
|
scheme: search # 后期将会提供多种封面布局方案 |
|
|
|
@ -154,9 +135,60 @@ layout: |
|
|
|
|
# 文章页脚,自动在每一篇文章末尾添加 |
|
|
|
|
footer: [copyright, donate] |
|
|
|
|
# 文章页面的侧边栏 |
|
|
|
|
sidebar: [blogger, toc, category, tagcloud, donate] |
|
|
|
|
sidebar: [blogger, toc, category, tagcloud, music, donate] |
|
|
|
|
# 其他的页面布局暂时等于文章列表 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# meta库配置 |
|
|
|
|
meta: |
|
|
|
|
# 文章标题 |
|
|
|
|
title: # 暂无配置 |
|
|
|
|
# 文章作者 |
|
|
|
|
author: |
|
|
|
|
icon: fas fa-user # 如果配置了头像,则不会显示图标 |
|
|
|
|
# 文章创建日期 |
|
|
|
|
date: |
|
|
|
|
icon: fas fa-calendar-alt |
|
|
|
|
format: 'YYYY-MM-DD' # 日期格式 http://momentjs.com/docs/ |
|
|
|
|
# 文章更新日期 |
|
|
|
|
updated: |
|
|
|
|
icon: fas fa-clock |
|
|
|
|
format: 'll' # 日期格式 http://momentjs.com/docs/ |
|
|
|
|
# 文章分类 |
|
|
|
|
category: |
|
|
|
|
icon: fas fa-folder-open |
|
|
|
|
# 文章置顶 |
|
|
|
|
top: |
|
|
|
|
icon: fas fa-angle-double-up |
|
|
|
|
# 文章浏览计数 |
|
|
|
|
counter: |
|
|
|
|
icon: fas fa-eye |
|
|
|
|
# 文章字数和阅读时长 |
|
|
|
|
wordcount: |
|
|
|
|
icon_wordcount: fas fa-keyboard |
|
|
|
|
icon_duration: fas fa-hourglass-half |
|
|
|
|
# 文章标签 |
|
|
|
|
tags: |
|
|
|
|
icon: fas fa-tag |
|
|
|
|
# 分享 |
|
|
|
|
share: |
|
|
|
|
- id: qq |
|
|
|
|
name: QQ好友 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qq.png |
|
|
|
|
- id: qzone |
|
|
|
|
name: QQ空间 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qzone.png |
|
|
|
|
# - id: qrcode # 当id为qrcode时需要安装插件 npm i -S hexo-helper-qrcode |
|
|
|
|
# name: 微信 |
|
|
|
|
# img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/wechat.png |
|
|
|
|
- id: weibo |
|
|
|
|
name: 微博 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/weibo.png |
|
|
|
|
# - id: qrcode # 当id为qrcode时需要安装插件 npm i -S hexo-helper-qrcode |
|
|
|
|
# name: QRcode |
|
|
|
|
# img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qrcode.png |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 组件库配置 |
|
|
|
|
widget: |
|
|
|
|
# --------------------------------------- |
|
|
|
@ -216,14 +248,19 @@ widget: |
|
|
|
|
class: music |
|
|
|
|
icon: fas fa-compact-disc |
|
|
|
|
title: "最近在听" |
|
|
|
|
theme: '#1BCDFC' # 主题色 |
|
|
|
|
autoplay: true # 自动播放 |
|
|
|
|
server: netease # netease(网易云音乐)tencent(QQ音乐) xiami(虾米) kugou(酷狗) |
|
|
|
|
order: list # list (列表) 'random'(随机) |
|
|
|
|
loop: all # 'all', 'one', 'none' |
|
|
|
|
type: playlist # song (单曲) album (专辑) playlist (歌单) search (搜索)artist |
|
|
|
|
mid: 3175833810 # 歌曲/专辑/歌单 ID/搜索关键词 |
|
|
|
|
volume: 0.7 # 音量, 0~1 |
|
|
|
|
more: # 右上角的按钮 |
|
|
|
|
icon: far fa-heart |
|
|
|
|
url: https://music.163.com/#/user/home?id=63035382 |
|
|
|
|
rel: external nofollow noopener noreferrer |
|
|
|
|
target: _blank |
|
|
|
|
server: netease # netease(网易云音乐)tencent(QQ音乐) xiami(虾米) kugou(酷狗) |
|
|
|
|
type: playlist # song (单曲) album (专辑) playlist (歌单) search (搜索) |
|
|
|
|
mid: 3175833810 # 歌曲/专辑/歌单 ID |
|
|
|
|
# --------------------------------------- |
|
|
|
|
# 版权说明小部件(仅用于文章中) |
|
|
|
|
- id: copyright |
|
|
|
@ -315,7 +352,6 @@ widget: |
|
|
|
|
target: _blank |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 社交信息配置 |
|
|
|
|
social: |
|
|
|
|
- icon: fas fa-rss |
|
|
|
@ -328,27 +364,12 @@ social: |
|
|
|
|
url: https://music.163.com/#/user/home?id=63035382 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 分享按钮 |
|
|
|
|
share: |
|
|
|
|
- id: qq |
|
|
|
|
name: QQ好友 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qq.png |
|
|
|
|
- id: qzone |
|
|
|
|
name: QQ空间 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qzone.png |
|
|
|
|
# - id: qrcode # 当id为qrcode时需要安装插件 npm i -S hexo-helper-qrcode |
|
|
|
|
# name: 微信 |
|
|
|
|
# img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/wechat.png |
|
|
|
|
- id: weibo |
|
|
|
|
name: 微博 |
|
|
|
|
img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/weibo.png |
|
|
|
|
# - id: qrcode # 当id为qrcode时需要安装插件 npm i -S hexo-helper-qrcode |
|
|
|
|
# name: QRcode |
|
|
|
|
# img: https://cdn.jsdelivr.net/gh/xaoxuu/assets@19.1.9/logo/128/qrcode.png |
|
|
|
|
############################### 需要复制到根目录配置文件中 ############################### |
|
|
|
|
# 请复制到根目录配置文件! |
|
|
|
|
# copyright: '[Copyright © 2017-2020 Mr. X](https://xaoxuu.com)' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# 网页最底部的文字,支持md |
|
|
|
|
copyright: '[Copyright © 2017-2020 Mr. X](https://xaoxuu.com)' |
|
|
|
|
|
|
|
|
|
############################### 评论系统 ############################### |
|
|
|
|
# disqus_shortname: 要使用哪个请复制到根目录配置文件! |
|
|
|
|