blog/_config.butterfly.yml
Linloir 911dea11b2
All checks were successful
Deploy Pages / Generate-Pages (push) Successful in 42s
feat: update theme
2024-10-12 00:12:04 +08:00

254 lines
4.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.

nav:
logo:
display_title: true
fixed: false
menu:
主页: / || fas fa-home
标签: /tags/ || fas fa-tags
分类: /categories/ || fas fa-th
归档: /archives/ || fas fa-archive
链接||fas fa-list:
友链: /links/ || fas fa-link
关于: /about/ || fas fa-heart
hide_sidebar_menu_child: true
highlight_theme: darker
highlight_shrink: false
highlight_height_limit: 240
avatar:
img: /img/avatar.png
social:
fab fa-github: https://github.com/Linloir || GitHub
fas fa-envelope: mailto:jonathanzhang.st@gmail.com || Email
index_img: /img/index.jpg
footer_img: transparent
mask:
footer: false
subtitle:
enable: true
effect: true
sub:
- "我, 技术, 生活与值得分享的一切"
- "Run fast, Laugh hard, and Be kind"
- "从这里, 瞥见时间流过的痕迹"
cover:
index_enable: false
aside_enable: false
archives_enable: false
default_cover: /img/cover.jpg
index_post_content:
method: 3
length: 500
toc:
post: true
page: false
number: true
expand: false
scroll_percent: false
post_copyright:
enable: true
decode: true
author_href: https://blog.linloir.cn
license: CC BY-NC-SA 4.0
license_url: https://creativecommons.org/licenses/by-nc-sa/4.0/
post_edit:
enable: false
noticeOutdate:
enable: false
# Style: simple / flat
style: flat
# When will it be shown
limit_day: 365
# Position: top / bottom
position: top
message_prev: It has been
message_next: days since the last update, the content of the article may be outdated.
footer:
owner:
enable: true
since: 2022
custom_text: Wirtten with Love ❤
copyright: true
aside:
enable: true
hide: false
button: true
mobile: true
position: right
display:
archive: true
tag: true
category: true
card_author:
enable: true
description:
card_announcement:
enable: false
card_recent_post:
enable: true
limit: 5
sort: date
sort_order:
card_newest_comments:
enable: false
card_categories:
enable: true
limit: 0
expand: none
sort_order:
card_tags:
# 是否顯示標籤卡片
enable: false
# 顯示標籤數量0 表示顯示所有
limit: 40
# 是否啟用顏色
color: false
# 標籤排序方式random/name/length
orderby: random
# 排序順序1 表示升序,-1 表示降序
order: 1
sort_order:
card_archives:
enable: true
# 歸檔類型monthly / yearly
type: yearly
# 日期格式例如YYYY年MM月
format: YYYY
# 排序順序1 表示升序,-1 表示降序
order: -1
# 顯示歸檔數量0 表示顯示所有
limit: 0
sort_order:
card_post_series:
# 是否顯示系列文章卡片
enable: true
# 標題顯示系列名稱
series_title: false
# 排序方式title 或 date
orderBy: 'date'
# 排序順序1 表示升序,-1 表示降序
order: -1
card_webinfo:
# 是否顯示網站信息卡片
enable: true
# 是否顯示文章數量
post_count: true
# 是否顯示最後推送日期
last_push_date: true
sort_order:
# 發佈日期與當前日期的時間差
# 格式Month/Day/Year Time 或 Year/Month/Day Time
# 如果不啟用此功能,請留空
runtime_date:
translate:
enable: true
# 按鈕文本
default:
# 網站語言1 - 繁體中文 / 2 - 簡體中文)
defaultEncoding: 2
# 轉換延遲
translateDelay: 0
# 按鈕在簡體中文時的文本
msgToTraditionalChinese: '繁'
# 按鈕在繁體中文時的文本
msgToSimplifiedChinese: '简'
readmode: true
darkmode:
enable: true
button: true
autoChangeMode: 2
start: 0
end: 0
rightside_scroll_percent: false
anchor:
auto_update: true
click_to_scroll: true
wordcount:
enable: true
post_wordcount: true
min2read: true
total_wordcount: true
math:
use: katex
per_page: true
hide_scrollbar: false
markdown:
plugins:
- '@renbaoshuo/markdown-it-katex'
share:
use: sharejs
sharejs:
sites: facebook,twitter,wechat,weibo,qq
comments:
use:
preloader:
enable: true
source: 2
pace_css_url: /css/minimal.css
pjax:
enable: true
theme_color:
enable: true
scrollbar_color: "rgba(0, 0, 0, 0.5)"
canvas_nest:
enable: true
color: "0,0,255"
opacity: 0.7
zIndex: -1
count: 90
mobile: false
fireworks:
enable: true
zIndex: 9999
mobile: false
lightbox: fancybox
mermaid:
enable: true
code_write: true
theme:
light: default
dark: dark
snackbar:
enable: true
position: top-center
instantpage: true
pangu:
enable: true
field: post