# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# 这里是 6.0.0-alpha 分支
# Breaking Change 会放到这个分支
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
############################### Volantis ###############################
info:
theme_name: Volantis # This is theme's name.
theme_docs: https://volantis.js.org/ # This is theme's URL.
theme_repo: https://github.com/volantis-x/hexo-theme-volantis
# Debug 调试模式
debug: false # false: 关闭调试模式, env:环境配置检查, rightMenus: 调试右键, cdn: 调试 CDN System
############################### 默认占位图 ###############################
default:
avatar: volantis-static/media/placeholder/avatar/round/3442075.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/avatar/round/3442075.svg
link: volantis-static/media/placeholder/link/8f277b4ee0ecd.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/link/8f277b4ee0ecd.svg
cover: volantis-static/media/placeholder/cover/76b86c0226ffd.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/cover/76b86c0226ffd.svg
image: volantis-static/media/placeholder/image/2659360.svg # https://cdn.jsdelivr.net/gh/cdn-x/placeholder@1.0.1/image/2659360.svg
############################### CDN System ###############################
cdn_system:
# CDN 优先级 从高到低排序 写入 priority 列表即表示启用(enable)
priority: [custom, local, cdnjs, npm, static]
# ========================================================================
# cdn数据配置文件见 "theme/_cdn.yml", 可以在 source/_data/cdn.yml 覆盖 theme/_cdn.yml
# 变量说明:
# 以下变量只能在 `prefix` 中使用。
# ${site_root} 站点根目录 一般是 "/"
# 以下变量只能在 `format` 中使用。
# ${prefix} CDN 链接前缀
# ${name} package 名称 见 "theme/_cdn.yml"
# ${version} package 版本 见 "theme/_cdn.yml"
# ${file} 文件路径 见 "theme/_cdn.yml"
# ${min_file} 文件路径 ${file} 后添加 .min. (jsdelivr、cdnjs 官方自带压缩)
# ${timestamp} Hexo运行时的时间戳(eg:1661246702300), 可用于静态资源版本控制 format: ${prefix}${file}?v=${timestamp}
system_config:
# 自定义配置 使用 "theme/_cdn.yml" 中的名称作为配置项的键
custom:
busuanzi: https://npm.elemecdn.com/penndu@1.0.0/bsz.js # 杜老师友情赞助
artalk_js: https://artalk.dusays.com/dist/Artalk.js
artalk_css: https://artalk.dusays.com/dist/Artalk.css
#volantis_style: /css/style.css
#volantis_app: /js/app.js
# 主题 /js与/css目录 (一般放在本地,可以在此处配置站点CDN),"theme/_cdn.yml" 中以 "volantis_" 开头的名称
# Tip: 在本配置文件中 匹配以 "volantis-local" 开头的链接路径替换为该格式的前缀开头 prefix
local:
# CDN 链接前缀
prefix: ${site_root}
# local CDN 格式
format: ${prefix}${file}
# npm
# https://www.npmjs.com/
# Tip: 在本配置文件中 匹配以 "volantis-npm" 开头的链接路径替换为该格式的前缀开头 prefix
npm:
# CDN 链接前缀
prefix: https://unpkg.com
# npm CDN 格式
format: ${prefix}/${name}@${version}/${file}
# volantis static 静态资源文件 npm 包 CDN 地址
# https://github.com/volantis-x/volantis-static
# Tip: 在本配置文件中 匹配以 "volantis-static" 开头的链接路径替换为该格式的前缀开头 prefix
static:
# CDN 链接前缀
prefix: https://unpkg.com/volantis-static@0.0.1660614606622
# volantis-static CDN 格式
format: ${prefix}/libs/${name}/${file}
# cdnjs
# https://cdnjs.com/
# Tip: 在本配置文件中 匹配以 "volantis-cdnjs" 开头的链接路径替换为该格式的前缀开头 prefix
cdnjs:
# CDN 链接前缀
prefix: https://e.dusays.com/ajax/libs
# cdnjs CDN 格式
format: ${prefix}/${name}/${version}/${min_file}
# ========================================================================
############################### CSP ###############################
# 内容安全策略( CSP ) meta 标签 http-equiv="Content-Security-Policy"
# https://developer.mozilla.org/zh-CN/docs/Web/HTTP/CSP
# https://content-security-policy.com/
# 也可以设为 false 在 HTTP 标头中设置 https://volantis.js.org/v5/advanced-settings/#设置-HTTP-响应标头
csp:
enable: true
content: "
default-src 'self' https:;
block-all-mixed-content;
base-uri 'self' https:;
form-action 'self' https:;
worker-src 'self' https:;
connect-src 'self' https: *;
img-src 'self' data: https: *;
media-src 'self' https: *;
font-src 'self' data: https: *;
frame-src 'self' https: *;
manifest-src 'self' https: *;
child-src https:;
script-src 'self' https: 'unsafe-inline' *;
style-src 'self' https: 'unsafe-inline' *;
"
# 可以使用自动程序替换默认的 'unsafe-inline' 和 * 生成更严格的内容安全策略.
# 另可以参考官网之前的 gulp 方案.(CSP Level 3 :Safari 15.4+ Chrome 59+ Firefox 58+ Edge 79+)
# gulpfile.js https://gist.github.com/MHuiG/e50ce64fd94f641f679a0736fef925e4
########################################################################
# https://web.dev/content-visibility/
# https://www.caniuse.com/?search=content-visibility
content_visibility: true
# 全局页面字符串替换 A => B (可用于临时修改错字等)
replace:
- https://cdn.jsdelivr.net/npm/ => https://unpkg.com/
- https://cdn.jsdelivr.net/gh/ => https://gcore.jsdelivr.net/gh/
- https://unpkg.com/ => https://e.dusays.com/npm/
- https://gcore.jsdelivr.net/gh/ => https://e.dusays.com/gh/
# dns-prefetch preconnect x-dns-prefetch-control
dns_prefetch:
- https://e.dusays.com
- https://npm.elemecdn.com
- https://f.dusays.com
- https://artalk.dusays.com
# 平滑滚动效果
scroll_smooth: true
############################### Navigation Bar ############################### > start
# 注意事项:建议规范全站路径 URL 最后带一个 "/" 例如 "about/"
navbar:
visiable: auto # always, auto
logo: # choose [img] or [icon + title]
img: https://cdn.dusays.com/logo.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-NavBar@3x.png
icon:
title:
menu:
- name: 分类
icon: fa-solid fa-folder-open
url: categories/
rows:
- name: 代码编程
icon: fas fa-file-code
url: https://dusays.com/categories/%E4%BB%A3%E7%A0%81%E7%BC%96%E7%A8%8B/
- name: 智慧生活
icon: fas fa-couch
url: https://dusays.com/categories/%E6%99%BA%E6%85%A7%E7%94%9F%E6%B4%BB/
- name: 求职面试
icon: fas fa-business-time
url: https://dusays.com/categories/%E6%B1%82%E8%81%8C%E9%9D%A2%E8%AF%95/
- name: 网站搭建
icon: fas fa-ethernet
url: https://dusays.com/categories/%E7%BD%91%E7%AB%99%E6%90%AD%E5%BB%BA/
- name: 网络安全
icon: fas fa-ethernet
url: https://dusays.com/categories/%E7%BD%91%E7%BB%9C%E5%AE%89%E5%85%A8/
- name: 网络教程
icon: fas fa-network-wired
url: https://dusays.com/categories/%E7%BD%91%E7%BB%9C%E6%95%99%E7%A8%8B/
- name: 老师说课
icon: fas fa-chalkboard-teacher
url: https://dusays.com/categories/%E8%80%81%E5%B8%88%E8%AF%B4%E8%AF%BE/
- name: 视频分享
icon: fas fa-video
url: https://dusays.com/categories/%E8%A7%86%E9%A2%91%E5%88%86%E4%BA%AB/
- name: 资源分享
icon: fas fa-download
url: https://dusays.com/categories/%E8%B5%84%E6%BA%90%E5%88%86%E4%BA%AB/
- name: 运维教程
icon: fas fa-database
url: https://dusays.com/categories/%E8%BF%90%E7%BB%B4%E6%95%99%E7%A8%8B/
- name: 归档
icon: fa-solid fa-archive
url: archives/
- name: 友链
icon: fa-solid fa-external-link
url: https://dusays.com/friends/
- name: 文坛
icon: fa-solid fa-feed
url: https://dusays.com/fcircle/
- name: 留言
icon: fa-solid fa-info-circle
url: about/
- name: 说说
icon: fa-solid fa-comment
url: https://dusays.com/shuoshuo/
- name: 图床
icon: fa-solid fa-image
url: https://7bu.top
target: _blank
- name: 点我在线聊天
icon: fa-solid fa-phone
url: https://chat.dusays.com/signup_user_complete/?id=pmsp46j6ji8xdpket1pohptpnr
target: _blank
search: 输关键词「回车」搜索 # Search bar placeholder
############################### Navigation Bar ############################### > end
############################### Cover ############################### > start
cover:
height_scheme: half # full, half
layout_scheme: blank # blank (留白), search (搜索), dock (坞), featured (精选), focus (焦点)
display:
home: false
archive: false
others: false # can be written in front-matter 'cover: true'
background: https://gcore.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
# background: https://bing.ioliu.cn/v1/rand?w=1920&h=1200
logo: # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-Cover@3x.png
title: '杜老师说'
subtitle: '师者,传道,授业,解惑!'
search: 输关键词「回车」搜索 # search bar placeholder
features:
- name: 文档
icon: #
img: volantis-static/media/twemoji/assets/svg/1f5c3.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f5c3.svg
url: /v4/getting-started/
- name: 帮助
icon: #
img: volantis-static/media/twemoji/assets/svg/1f516.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f516.svg
url: faqs/
- name: 示例
icon: #
img: volantis-static/media/twemoji/assets/svg/1f396.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f396.svg
url: /examples/
- name: 社区
icon: #
img: volantis-static/media/twemoji/assets/svg/1f389.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f389.svg
url: /contributors/
- name: 博客
icon: #
img: volantis-static/media/twemoji/assets/svg/1f4f0.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f4f0.svg
url: /archives/
- name: 源码
icon: #
img: volantis-static/media/twemoji/assets/svg/1f9ec.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f9ec.svg
url: https://github.com/volantis-x/hexo-theme-volantis/
############################### Cover ############################### > end
pages:
# 友链页面配置
friends:
layout_scheme: traditional # simple: 简单布局, traditional: 传统布局
############################### Article Layout ############################### > start
# 文章布局
article:
# 文章列表页面的文章卡片布局方案
preview:
scheme: landscape # landscape
# pin icon for post
pin_icon: https://npm.onmicrosoft.cn/dusays@3.0.0/pin.svg # https://cdn.jsdelivr.net/gh/twitter/twemoji@13.0/assets/svg/1f4cc.svg
# auto generate title if not exist
auto_title: true # false, true
# auto generate excerpt if not exist
auto_excerpt: true # false, true
# hide excerpt
hide_excerpt: false
# show split line or not
line_style: solid # hidden, solid, dashed, dotted
# show author
author: false # true, false
# show readmore button
readmore: auto # auto, always
# 文章详情页面的文章卡片本体布局方案
body:
# 文章顶部信息
# 从 meta_library 中取
top_meta: [author, category, date, counter, artalkcount, wordcount] #启用评论数量需在此添加
# 文章底部信息
# 从 meta_library 中取
bottom_meta: [标签, share]
# ----------------
# 文章页脚组件
footer_widget:
# ----------------
# 参考资料、相关资料等 (for layout: post/docs)
references:
title: 参考资料
icon: fa-solid fa-quote-left
# 在 front-matter 中:
# references:
# - title: 某篇文章
# url: https://
# 即可显示此组件。
# ----------------
# 文章推荐 (for layout: post/docs)
# 推荐算法需要依赖中文分词工具,nodejieba只支持中英文 npm i nodejieba -S
recommended_article:
enable: false
layout: ["post", "docs"]
title: 推荐阅读
icon: fa-solid fa-bookmark
max_count: 6
placeholder_img: https://gcore.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
# 不展示文章推荐
# front-matter 使用 skip_recommended_article: true 关闭
# 不在以下文件夹文章中展示文章推荐 根目录是source/
skip_dirs:
- wiki/
# ----------------
# 相关文章,需要安装插件 (for layout: post)
# npm i hexo-related-popular-posts
related_posts:
enable: false
title: 相关文章
icon: fa-solid fa-bookmark
max_count: 5
# 设为空则不使用文章头图
placeholder_img: https://gcore.jsdelivr.net/gh/MHG-LAB/cron@gh-pages/bing/bing.jpg
# ----------------
# 版权声明组件 (for layout: post)
copyright:
enable: true
permalink: '本文永久链接是:'
content:
- '博客内容遵循 署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0) 协议'
- permalink
# 自定义版权组件:精细到文章的版权声明
custom: true # 开启后替代上方内容的版权显示
customData:
default: type5 # 默认授权声明
#############################
# 你可以在文章的 front-matter 覆盖默认版权声明
# 配置示例(均可选):
# copyright:
# type: type3 # 当前文章版权声明类型
# author: 张三 # 本文作者
# ref: # 原文出处
# title: # 原文出处 - 标题
# url: # 原文出处 - 链接
#############################
rules:
type1:
text: CC BY-NC-SA 4.0
desc: 署名-非商业性使用-相同方式共享 4.0 国际。
type2:
text: 禁止转载引用
desc: 除非获得原作者的单独授权,任何第三方不得转载!
type3:
text: 原作许可协议
desc: 本文转载自他站,转载或引用本文时,请遵守原作许可协议!
type4:
text: 来自互联网
desc: 本文来自互联网,未知来源,侵权请联系删除。
type5:
text: 允许规范转载
desc: 转载请保留本文转载地址,著作权归作者所有!
type6:
text: 允许付费转载
desc: 您可以联系作者通过付费方式获得授权。
# 还能自行添加更多
# ----------------
# 打赏组件 (for layout: post)
donate:
enable: true
images:
- https://bu.dusays.com/2022/11/01/635fff2b852b5.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
- https://bu.dusays.com/2022/11/01/6360e46adea70.jpg
- https://bu.dusays.com/2022/11/01/635fff2b845b9.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
# meta library
meta_library:
# 默认文章作者(可在 _data/author.yaml 中增加其他作者,并在 front-matter 中设置)
# https://volantis.js.org/advanced-settings/#多人协同
author:
avatar: https://cdn.dusays.com/avatar.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/favicon/apple-touch-icon.png
name: Teacher Du
url: https://dusays.com/about/
# 文章创建日期
date:
icon: https://photo.yhehe.com/tp/h.ico
title: '发布于:'
format: 'll' # 日期格式 http://momentjs.com/docs/
# 文章更新日期
updated:
icon: fa-solid fa-edit
title: '更新于:'
format: 'll' # 日期格式 http://momentjs.com/docs/
# 文章分类
category:
icon: fa-solid fa-folder-open
# 文章浏览计数
counter:
icon: fa-solid fa-eye
unit: '次浏览'
# waline 文章评论数量
walinecount:
icon: fa-solid fa-comment-dots
desc: '条评论' # 条评论
# artalk 文章评论数量
artalkcount:
icon: fa-solid fa-comment-dots
desc: '条评论' # 条评论
# 文章字数和阅读时长
wordcount:
icon_wordcount: fa-solid fa-keyboard
icon_duration: fa-solid fa-hourglass-half
# 文章标签
tags:
icon: fa-solid fa-hashtag
# 分享
share:
- id: qq
img: volantis-static/media/org.volantis/logo/128/qq.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/qq.png
- id: qzone
img: volantis-static/media/org.volantis/logo/128/qzone.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/qzone.png
- id: weibo
img: volantis-static/media/org.volantis/logo/128/weibo.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/weibo.png
- id: # qrcode # 当id为qrcode时需要安装插件 npm i hexo-helper-qrcode
img: # volantis-static/media/org.volantis/logo/128/wechat.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/wechat.png
- id: # telegram
img: # volantis-static/media/org.volantis/logo/128/telegram.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/128/telegram.png
############################### Article Layout ############################### > end
############################### Comments ############################### > start
comments:
title: 评论
subtitle:
service: artalk
# 可选评论系统 #
# artalk
# https://artalk.js.org/
# https://github.com/ArtalkJS/Artalk
artalk:
server: https://artalk.dusays.com # 修改为自建的后端服务地址
path: # 全局评论地址
placeholder: 在评论框粘贴,自动传至图床。评论自动审核,未显示请稍等~ # 评论占位
visitor: true # 是否显示文章阅读数
latex: false # 启用 Latex 支持
# artalk 有三类图片:1.上传至服务端 2.上传至服务端后利用upgit上传至图床 3.前端上传至图床(本配置为此类)
# 配置此项时将覆盖服务端上传能力
imageUploader:
# 以兰空图床为例,下列填写内容为:
# url: 'https://xxxxxx/api/v1/upload'
# token: 'Bearer xxxxxxxxxxxxxx'
# resp: 'data.links.url'
api: 'https://7bu.top/api/v1/upload' # 图床地址
token: 'Bearer 198|G3L9heu8LimK9YSaQzFwqGlfv6EhYTHVIOIcGzUX' # 图床验证
resp: 'data.links.url' # 图片地址返回值的字段
# 更多置项可在 Artalk 后端进行配置,详见 https://artalk.js.org/guide/backend/fe-control.html
# 也可以在此处继续参考上方例子进行配置,不建议重写配置的字段除上方所述外还有:
# [el, useBackendConf, pageKey, pageTitle, site, darkMode, pvEl, imgUploader]
# giscus
# https://giscus.app
# https://github.com/laymonage/giscus
giscus:
# 以下配置按照 yml 格式增删填写即可
# repo: xxx/xxx
# repo-id: xxx
# category: xxx
# category-id: xxx
# mapping: "pathname"
# reactions-enabled: "1"
# emit-metadata: "0"
# lang: "zh-CN"
# 以上配置按照 yml 格式增删填写即可
theme:
light: "light" # https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@master/css/giscus/light.css
dark: "dark" # https://cdn.jsdelivr.net/gh/volantis-x/cdn-volantis@master/css/giscus/dark.css
# beaudar
# https://beaudar.lipk.org/
beaudar:
repo: xxx/xxx
issue-term: pathname
issue-number:
branch: main
position: top
order: desc
theme:
light: github-light
dark: github-dark
label: ✨💬✨
# utterances
# https://utteranc.es/
utterances:
repo: xxx/xxx
issue-term: pathname
issue-number:
theme:
light: github-light
dark: github-dark
label: ✨💬✨
# Disqus
# https://disqus.com
disqus:
shortname:
# optional
autoload: false
path: # 全局评论地址
# DisqusJS
# https://github.com/SukkaW/DisqusJS
disqusjs:
path: # 全局评论地址
# 配置项按照yml格式继续填写即可 除了 [siteName url identifier] 选项
#shortname:
#api:
#apikey:
#admin:
#nesting:
# Gitalk
# https://gitalk.github.io/
gitalk:
# 配置项按照yml格式继续填写即可 除了 [id distractionFreeMode] 选项
clientID:
clientSecret:
repo:
owner:
admin: # []
path: # 全局评论地址
# https://vssue.js.org/zh/
vssue:
owner:
repo:
clientId:
clientSecret:
# https://www.livere.com
livere:
uid:
# Isso
# https://posativ.org/isso/
isso:
url: https://example.com/(path/)
src: https://example.com/(path/)js/embed.min.js
css:
gravatar:
# https://www.barkdull.org/software/hashover
hashover:
src: https://example.com/(path/)comments.php
# Twikoo
# https://twikoo.js.org/
twikoo:
path: # 全局评论地址
# 其他配置项按照yml格式继续填写即可 除了 [el path] 选项
envId: xxxxxxxxxxxxxxx # 腾讯云环境填 envId;Vercel 环境填地址(https://xxx.vercel.app)
placeholder: #全局评论占位,也可以在管理面板中的配置管理处设置(此处优先级更高)
visitor: true # 是否显示文章阅读数
# Waline
# https://waline.js.org/
waline:
path: # 全局评论地址 目前设置全局评论地址后visitor失效,这是waline的问题
placeholder: # 评论占位提示
serverURL: # Waline 的服务端地址(必填) 测试用地址: https://waline.vercel.app
imageUploader:
# 适配了兰空图床V1、V2版本
# 以兰空图床V1为例,下列填写内容为:
# fileName: file
# tokenName: Authorization
# api: https://xxxxxx/api/v1/upload
# token: Bearer xxxxxxxxxxxxxx
# resp: data.links.url
# 以兰空图床V2为例,下列填写内容为:
# fileName: image
# tokenName: token
# api: https://xxxxxx/api/upload
# token: xxxxxxxxxxxxxx
# resp: data.url
fileName: # 根据版本二选一
tokenName: # 根据版本二选一
api: # 图床 api 地址
token: # 图床验证
resp: # 图片地址返回值的字段
pageview: true # 是否显示文章阅读数
comment: true # 是否显示文章评论数
# 其他配置项按照yml格式继续填写即可 除了 [el path imageUploader] 选项
# 组件属性地址:https://waline.js.org/reference/component.html
# meta: ['nick', 'mail', 'link']
# Discuss
# https://discuss.js.org
discuss:
serverURLs: # Discuss server address url
visitStat: true # 是否显示文章阅读数
# https://discuss.js.org/Quick-Start.html#path
############################### Comments ############################### > end
############################### Sidebar ############################### > start
sidebar:
position: right # left right
# 主页、分类、归档等独立页面
for_page: [heisi, blogger, memos_carousel, artalk, sffw, h5game, dao_hang, category, tagcloud, webinfo, tui_jian, dulaoshi, chat, bw]
# layout: docs/post 这类文章页面
for_post: [heisi, blogger, toc, memos_carousel, artalk, sffw, h5game, dulaoshi, chat, bw, dao_hang, category, tagcloud, webinfo]
# 侧边栏组件库
widget_library:
# ---------------------------------------
# blogger info widget
blogger:
class: blogger
display: [desktop, mobile] # [desktop, mobile]
avatar: https://cdn.dusays.com/avatar.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/Logo-NavBar@3x.png
shape: rectangle # circle, rectangle
url: /about/
title: Teacher Du
subtitle: '师者,传道,授业,解惑!'
jinrishici: false # Poetry Today. You can set a string, and it will be displayed when loading fails.
social:
- icon: fa-solid fa-rss
url: /atom.xml
- icon: fa-solid fa-image
url: https://7bu.top/
- icon: fa-solid fa-subway
url: https://www.travellings.cn/go.html
- icon: fa-solid fa-sitemap
url: https://dusays.com/baidusitemap.xml
# ---------------------------------------
# toc widget (valid only in articles)
toc:
class: toc
display: [desktop, mobile] # [desktop, mobile]
sticky: true
header:
icon: fa-solid fa-list
title: 本文目录
list_number: false
min_depth: 2
max_depth: 5
# ---------------------------------------
# music
music:
class: music
display: [desktop, mobile] # [desktop, mobile]
# ---------------------------------------
# category widget
category:
class: category
display: [desktop] # [desktop, mobile]
header:
icon: fa-solid fa-folder-open
title: 文章分类
url: /categories/
# ---------------------------------------
# tagcloud widget
tagcloud:
class: tagcloud
display: [desktop, mobile] # [desktop, mobile]
header:
icon: fa-solid fa-tags
title: 热门标签
url: /tags/
min_font: 14
max_font: 24
color: true
start_color: '#999'
end_color: '#555'
# ---------------------------------------
# qrcode widget
qrcode:
class: qrcode
display: [desktop, mobile] # [desktop, mobile]
height: 64px # Automatic height if not set
images:
- volantis-static/media/org.volantis/blog/qrcode/github@volantis.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
- volantis-static/media/org.volantis/blog/qrcode/github@volantis.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/blog/qrcode/github@volantis.png
# ---------------------------------------
heisi:
class: text
display: [desktop, mobile]
header:
icon: fas fa-info
title: 随机图片
url: https://dusays.com/530/
content:
- '
'
sffw:
class: text
display: [desktop, mobile]
header:
icon: fas fa-dollar-sign
title: 收费服务
url: https://dusays.com/sffw/
content:
- '
'
h5game:
class: text
display: [desktop, mobile]
header:
icon: fas fa-cloud
title: 公益游戏
url: https://echeverra.cn/h5game
content:
- '
'
dulaoshi:
class: text
display: [desktop, mobile]
sticky: true
header:
icon: fas fa-ad
title: 去不图床
url: https://7bu.top/
content:
- '
'
chat:
class: text
display: [desktop, mobile]
sticky: true
header:
icon: fas fa-ad
title: 聊天广场
url: https://chat.dusays.com/
content:
- '
'
bw:
class: text
display: [desktop, mobile]
sticky: true
header:
icon: fas fa-ad
title: 密码托管
url: https://bw.dusays.com/
content:
- '
'
dao_hang:
class: grid
display: [desktop, mobile]
header:
icon: fas fa-map-signs
title: 站内导航
fixed: true # 固定宽度
rows:
- name: 近期文章
icon: fas fa-clock
url: /
- name: 文章归档
icon: fas fa-archive
url: archives/
- name: 我的友链
icon: fas fa-link
url: friends/
- name: 关于小站
icon: fas fa-info-circle
url: about/
- name: 文章分类
icon: fas fa-book
url: categories/
- name: 热门标签
icon: fas fa-fire
url: tags/
tui_jian:
class: list
sticky: true
display: [desktop, mobile]
header:
icon: fas fa-thumbs-up
title: 首页链接
url: /friends/
rows:
- name: 淇云博客
url: https://www.pengqi.club
rel: external nofollow noopener noreferrer
target: _blank
- name: 二猫blog
url: https://jingxin18.cn
rel: external nofollow noopener noreferrer
target: _blank
- name: 陈冬冬博客
url: https://www.chendd.cn
rel: external nofollow noopener noreferrer
target: _blank
- name: 揽星
url: https://lanxing.net
rel: external nofollow noopener noreferrer
target: _blank
- name: 牛魔博客
url: https://www.nmwbk.com
rel: external nofollow noopener noreferrer
target: _blank
# webinfo widget
webinfo:
class: webinfo
display: [desktop]
header:
icon: fa-solid fa-award
title: 站点信息
type:
article:
enable: true
text: '文章数目:'
unit: '篇'
runtime:
enable: true
data: '2019/07/10' # 填写建站日期
text: '已运行时间:'
unit: '天'
wordcount:
enable: true
text: '本站总字数:' # 需要启用 wordcount
unit: '字'
visitcounter:
enable: true
siteuv:
text: '本站访客数:'
unit: '人'
sitepv:
text: '本站总访问量:'
unit: '次'
lastupd:
enable: true
friendlyShow: true # 更友好的时间显示
text: '最后活动时间:'
unit: '日'
# ---------------------------------------
# lastupdate widget
lastupdate:
class: lastupdate
display: [desktop, mobile]
header:
icon: fa-solid fa-clock WISTERIA
title: 最近更新
# ---------------------------------------
# Artalk widget
artalk:
class: artalk
stickys: true
display: [desktop, mobile]
# ---------------------------------------
# Memos widget
memos_carousel:
class: memos_carousel
display: [desktop, mobile]
header:
icon: fa-solid fa-volume-high
title: 说说
url: /shuoshuo/ # 说说页面的地址
url: 'https://s.dusays.com/' # 替换城自己的域名,也可以用杜老师的平台托管
limit: '10' # 展示数量限制
creatorId: '1' # 替换成自己的用户的ID
tag: '' # 要展示的内容的标签
image: 'fa-solid fa-image' # 图片替换成图标
link: 'fa-solid fa-link' # 链接替换成图标
placeholder: '说说加载中...' # 占位符
############################### Sidebar ############################### > end
############################### Tag Plugins ############################### > start
# 内置标签插件的配置
tag_plugins:
# {% note text %}
note: # style for default note:
icon: '\f054'
color: ''
iconfont: 'Font Awesome 6 Free'
# {% checkbox %}
checkbox:
interactive: false # enable interactive for user
color: '' # color for default checkbox
# {% link title, url, img %}
link:
placeholder: volantis-static/media/org.volantis/logo/256/safari.png # https://cdn.jsdelivr.net/gh/volantis-x/cdn-org/logo/256/safari.png
############################### Tag Plugins ############################### > end
############################### Site Footer ############################### > start
site_footer:
# layout of footer: [aplayer, social, license, info, copyright]
layout: [aplayer, social, license, info, copyright, br, link1, link2]
social:
- img: https://npm.onmicrosoft.cn/dusays@3.0.0/020-rss.svg
url: atom.xml
- img: https://npm.onmicrosoft.cn/dusays@3.0.0/017-picasa.svg
url: https://7bu.top/
- img: https://npm.onmicrosoft.cn/dusays@3.0.0/031-twitch.svg
url: https://status.dusays.com/status/a
- img: https://npm.onmicrosoft.cn/dusays@3.0.0/033-spotify.svg
url: https://dusays.com/baidusitemap.xml
# site source
source: https://github.com/volantis-x/volantis-docs/
# analytics using busuanzi
analytics: >
本站总访问量为 次
访客数为 人
# site copyright
copyright: '[萌 ICP 备 20229624 号](https://icp.gov.moe/?keyword=20229624) | [异次元之旅](https://travel.moe/go.html?travel=on)