hexo/_config.blank.yml

261 lines
6.2 KiB
YAML
Raw Normal View History

2024-05-09 10:40:20 +08:00
# html lang
language: zh-CN
# 设置 favicon
favicon: /img/logo.png
# 设置 rss
rss: /atom.xml
# 左上角/中间的网站名字
title_font:
font_link:
font-family:
# 全局字体
fonts:
font_link:
font-family: LXGW WenKai Screen, Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif
# 顶部菜单
# 如果不需要显示某项,可以用'#'注释掉
menu:
2024-06-17 17:09:07 +08:00
#search: /search/ || fas fa-search-plus || rgb(3 169 244)
2024-05-09 10:40:20 +08:00
home: / || fab fa-fort-awesome || rgb(255 107 107)
archive: /archives/ || fas fa-archive || rgb(10 189 227)
tag: /tags/ || fas fa-hashtag || rgb(254 202 87)
#categories: /categories || far fa-folder-open || rgb(29 209 161)
朋友圈: /fcircle/ || fas fa-heart || rgb(29 209 161)
# guestbook: /gbook/ || fab fa-telegram || hsl(205deg 100% 50%)
friends: /links/ || fab fa-weixin || hsl(152deg 73% 45%)
说说: /memos/ || fas fa-coffee ||#31c7c1
2024-05-09 11:24:21 +08:00
2024-05-09 10:40:20 +08:00
about: /about/ || fab fa-grav || rgb(154 106 247)
# 如果 method: 1显示名称method: 2显示头像
logo:
method: 2
avatar: https://img.imsun.org/avatar.jpg
# 如果 method: 1只显示座右铭method: 2则同时显示座右铭和社交图标method: 3只显示社交图标
subtitle_social:
method: 2
subtitle:
motto: 曾梦想仗剑走天涯
font-size: 1.25em
font-color: "#84ccc9"
social:
Github:
icon: iconfont icon-GitHub
url: https://github.com/jkjoy
Email:
icon: iconfont icon-email
url: mailto:jkjoy@163.com
#Steam:
# icon: iconfont icon-steam
# url: https://steamcommunity.com/id/a2396837
#Bilibili:
# icon: iconfont icon-bilibili
# url: https://space.bilibili.com/8823569
#Netmusic:
# icon: iconfont icon-wangyiyunyinle1
# url: https://music.163.com/#/user/home?id=262078590
rss:
icon: iconfont icon-rss
url: /atom.xml
# 全局音乐播放器
audio:
2024-05-11 13:45:56 +08:00
enable: false
2024-05-09 10:40:20 +08:00
# 是否打开暗黑模式
todark:
enable: true
# 本地搜索
local_search:
2024-06-17 17:09:07 +08:00
enable: false
2024-05-09 10:40:20 +08:00
# 文章的相关信息
post_meta:
page:
date: true # 主页是否显示日期
categories: true # 主页是否显示分类
wordcount: true # 主页是否显示字数统计
min2read: true # 主页是否显示阅读时长
post:
date: true # 文章页是否显示日期
categories: true # 文章页是否显示字分类
wordcount: true # 文章页是否显示字数统计
min2read: true # 文章页是否显示阅读时长
# 文章目录
toc:
enable: true
# 文章自动摘要
auto_excerpt:
enable: true
length: 150
# Lazyload (图片懒加载)
# https://github.com/verlok/lazyload
lazyload:
enable: true
image: /img/loading.gif
script: https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js
# https://instant.page/
# prefetch (预加载)
instantpage:
enable: true
script: https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js
# fancybox
fancybox:
enable: true
script: https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.js
# 百度自动推送
baidu_push:
enable: false
# 谷歌分析
google_analytics:
# 百度分析
baidu_analytics:
# 代码复制功能
copy:
enable: true
# Post copyright
copyright:
enable: true
license_text: 本博客所有文章除特别声明外,均采用许可协议 <a href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a> 转载请注明出处!
# 文章分享
sharejs:
enable: true
sites: wechat,weibo,qq
style: https://cdn.jsdelivr.net/npm/social-share.js/dist/css/share.min.css
scripts: https://cdn.jsdelivr.net/npm/social-share.js/dist/js/social-share.min.js
# 赞助/捐献
reward:
enable: true
AliPayQR: https://blogcdn.loliko.cn/ali.png # 支付宝收款码
WeChatQR: https://blogcdn.loliko.cn/wx.png # 微信收款码
PayPalLink: https://paypal.me/jkjoy # paypal收款链接
# 一个内置的简单404页面
page_404:
enable: true
subtitle: 'Oops! Page not found.'
# 备案:
ICP:
enable: true
2024-06-17 17:09:07 +08:00
link: https://beian.miit.gov.cn/
text: 鄂ICP备16022970号-16
2024-05-09 10:40:20 +08:00
# icon: /img/icp.png
# highlight
highlight:
code_color: "#fafafa" # 代码块颜色
gutter_color: "#f2f2f2" # 代码行号块颜色
# mermaid
mermaid:
enable: false
theme: default
script: https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js
# MathJax
mathjax:
enable: false
script: https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js
# 鼠标点击特效(未来会增加更多种样式)
Click:
firework: false
firework_script: https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/js/firework.js
##评论系统,当您打开一个评论系统,其他评论系统必须关掉:enable: flase
# Valine 评论系统 https://valine.js.org
valine:
enable: false # 如果使用valine请设置改之为true
appid: # leancloud application app id
appkey: # leancloud application app key
placeholder: 评论记得带上邮箱,你的留言我会马上收到邮箱提醒哒
avatar: mm # gravatar style
lang: zh-CN # i18n: zh-CN/zh-TW/en/ja
meta: nick,mail,link
requiredFields: nick,mail # required fields (nick/mail)
pageSize: 10 # pagination size
recordIP: false # 是否记录评论者IP
serverURLs:
emojiCDN:
enableQQ: true
# OR
#Waline 评论系统 https://waline.js.org
waline:
2024-05-09 11:24:21 +08:00
enable: false
2024-05-09 10:40:20 +08:00
serverURL: https://waline.loliko.cn
avatar: monsterid # gravatar style https://zh-tw.gravatar.com/site/implement/images/#default-image
placeholder: Just go go # comment box placeholder
2024-05-09 11:24:21 +08:00
twikoo:
enable: true
envId: https://t.jkjoy.cn
2024-05-09 10:40:20 +08:00
# stylesheets loaded in the <head>
stylesheets:
- /css/partial/highlight/atom-one-light.css
- https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
- https://cdnjs.sgcd.net/lxgw-wenkai-screen-webfont/lxgwwenkaigbscreen.css
- https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@latest/dist/jquery.fancybox.min.css
- https://cdn.jsdelivr.net/gh/a2396837/CDN@latest/css/iconfont.css
# scripts loaded in the end of the body
scripts:
- /js/script.js
- https://cdn.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js