Files
Hexo-Async-Offends/app/_config.async.yml
offends 36e87c0fd0
All checks were successful
continuous-integration/drone Build is passing
first commit
2025-12-13 05:10:57 +08:00

281 lines
6.5 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 默认主题配置, 开启切换主题功能
theme:
switch: true
default: style-dark # style-light style-dark
# 网站图标 Favicon
favicon:
logo: favicon-default.png
icon16: favicon-default.png
icon32: favicon-default.png
apple_touch_icon: favicon-default.png
webmanifest: /site.webmanifest
visibilitychange: true
hidden: favicon-circle.png
show_text: 欢迎光临
hide_text: 不要走~
# 字体图标 Icon
assets:
third_party_provider: https://npm.elemecdn.com
icons:
type: symbol
css:
js: //at.alicdn.com/t/c/font_3637590_i4hyyea14ur.js
# 用户信息 User
user:
name: Offends
first_name:
last_name:
email: offends4@163.com
domain: https://blog.offends.cn
avatar: avatar.png
describe: 欢迎您发现此网站,希望你能在这找到共鸣,收获知识与快乐。
rule_text: 需要HTTPS协议并保证您的网站内容健康。
# 导航栏 TopBars
top_bars:
- title: 首页
url: /
- title: 分类
url: /categories/
- title: 其它
url: '#'
children:
- title: 关于
url: /about/
- title: 留言
url: /comment/
- title: 友链
url: /links/
# 侧栏 Sidebar
sidebar:
social:
- name: github
icon: icon-github
url: https://github.com/dinghui40
- name: gitee
icon: icon-gitee
url: https://gitee.com/offends
# 打字动画
typed_text_prefix: [' ']
typed_text: [ 'I`m Ding Hui','欢迎回来']
info:
- key: 地址
val: 银河系
- key: 年龄
val: 不清楚
- key: 实力
val: 上升期
# - key: <div><iframe frameborder="no" border="0" marginwidth="0" marginheight="0" width=260 height=86 src="//music.163.com/outchain/player?type=2&id=466808591&auto=0&height=66"></iframe></div>
# 横幅 Banner
banner:
use_cover: false
default:
type: img
bgurl: index-background.png
banner_text:
position: top
fit: cover
index:
banner_title: 业精于勤,荒于嬉。
bannerText: Hi my new friend!
archive:
banner_title: 积土而为山,积水而为海。
bannerText: Hi my new friend!
about:
banner_title: 四顾山光接水光,<br>凭栏十里芰荷香。
bannerText: Hi my new friend!
comment:
banner_title: 天下兴亡,咱们有责,嘿嘿。
bannerText: Hi my new friend!
links:
banner_title: 渚寒烟淡,棹移人远,飘渺行舟如叶。
bannerText: Hi my new friend!
# 页脚 Footer
footer:
# 起始年份
copyrightYear: 2020
# 显示框架
powered:
enable: true
# 显示备案号
beian:
enable: true
icp: 京ICP备2022021046号
# 运行时间
live_time:
enable: true
prefix: footer.tips
start_time: 01/3/2022 00:00:00
# 其他信息
custom_text: <a href="https://beian.mps.gov.cn/#/query/webSearch" rel="noopener" target="_blank">京公网安备11010502052505号</a>
# 打赏 Reward
reward:
enable: true
comment: 要是这篇文章为您解了惑、带来了帮助,不妨用小小的打赏来支持下我的创作吧,您的鼓励就是我持续分享的最大动力哦,感谢您啦!
methods:
- name: 支付宝
path: zfb.png
- name: 微信
path: wx.png
# 文章目录
toc:
enable: true
list_number: true
post_title: true
max_depth: 3
min_depth: 1
# 图片懒加载
lazyload:
enable: true
# 归档页
archive:
type: less
# 版权信息
creative_commons:
license: by-nc-sa
language: deed.zh
post: true
clipboard: false
# 自定义封面图
cover:
default: /img/block.png
type: img
# 上下篇文章
post_pagination:
enable: true
type: small
# 文章过期提醒
notice_outdate:
enable: true
style: flat
limit_day: 365
position: top
# 文章破图时默认图片
error_img:
flink: 404.gif
post_page: 404.jpg
# 分类卡片
categorie_card:
enable: true
len: 2
list: ["已完成", "待验证"]
# 固定按钮块
rightside:
readmode: true
aside: true
# 日期格式化 Date Format
datetime_foramt:
post_card:
date: YY/MM/DD
time: HH:mm
post_info:
type: updated
date: MM/DD
time: HH:mm
archive:
date: MM/DD
time: HH:mm
# 代码高亮 Highlight
highlight:
theme: true
title: mac
copy: true
lang: true
code_word_wrap: true
height_limit: 200 # 超出时,显示折叠按钮
# 自定义图标 Icon
icons:
# 主题切换图标
sun: icon-sun
moon: icon-moon
# 首页视频播放
play: icon-yunhang
# 邮箱
email: icon-email
# 分类进入图标
next: icon-arrow-right
# 文章详情 日期
calendar: icon-rili
# 文章详情 时间
clock: icon-shijian
# 文章详情 作者
user: icon-yonghu
# 返回顶部 v1.1.3+
back_top: icon-backtop
# 查询 v1.1.5+
search: icon-chaxun
# 关闭 v1.1.5+
close: icon-guanbi
# 打赏 v1.1.7+
reward: icon-qiandai
# 用户信息和文章目录切换 v1.2.10+
user_tag: icon-yonghu1
toc_tag: icon-liebiao
# 右下角固定按钮 v1.2.11+
read: icon-yuedu
arrows: icon-arrows-h
# 代码块
double_arrows: icon-angle-double-down
copy: icon-copy
# 关于 About
about:
insert: none # 插入规则 before插入在内容前 | after插入在内容后 | none不插入
title: 温故而知新,可以为师矣。
introduction: 大家好,我是 Offends很高兴您能在浩瀚如烟的互联网世界里发现这个博客更感谢您能够饶有兴致地浏览这个页面。建立这个 Blog 是出于兴趣爱好,我将在此分会分享一些学习笔记,可能还会分享少许图片、视频以及其他有趣东西的链接。
blog:
<ul class="trm-list">
<li>程序Hexo </li>
<li>主题Hexo-theme-async </li>
</ul>
privacy: 本网站不会追踪访客行为,且不要求访客提供任何敏感信息(比如真实姓名、身份证号码、手机号等),因而也不存在任何隐私泄漏问题。访客参与评论,必须遵守法律法规和基本道德规范,文明礼貌。严禁发布任何有关淫秽、反动、暴力、博彩、恐吓、低俗的内容或违法信息,在尊重言论自由的同时请保持和平与理性。请勿对他人采取不友好的评论或其它过激行为。
# 评论 Comment
comment:
twikoo:
enable: true
envId: https://blog.offends.cn/twikoo
# 本地搜索
search:
enable: true
type: local
# 百度自动推送
baidu_push: true
# 字数统计
wordcount:
enable: true
count: true
time: true
# 数学公式
katex:
copy_tex: true
global: false
options: {}
# 渐入式应用
sw: true