代码拉取完成,页面将自动刷新
# configurations
# 详情请参考:https://halo.run/develop/theme.html#settings-yaml
genernal:
label: 基本设置
items:
home_title:
name: home_title
label: 首页展示博客名
type: text
placeholder: '用于首页展示名字'
description: '注意:如填写,会覆盖原有博客名'
home_description:
name: home_description
label: 首页描述
type: text
placeholder: '用于首页描述'
base_color:
name: base_color
label: 网站主题色
type: color
default: '#2474b5'
placeholder: '网站主题色'
home_cover:
name: home_cover
label: 首页背景
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
enabled_index_cover_height:
name: enabled_index_cover_height
label: 首页开启全屏图片
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
header_logoimg:
name: header_logoimg
label: 菜单 Logo
type: attachment
card_random_cover:
name: card_random_cover
label: 卡片随机选择封面
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
description: '即使开启了此选项,也只有文章没有封面的情况下才会生效.请查看教程: https://baozi.fun/2020/06/03/random-thumbnail'
card_random_cover_img_suffix:
name: card_random_cover_img_suffix
label: 卡片随机选择封面后缀
type: radio
data-type: string
default: png
options:
- value: png
label: png
- value: jpeg
label: jpeg
- value: jpg
label: jpg
description: '随机封面后缀'
card_random_cover_img_num:
name: card_random_cover_img_num
label: 卡片随机选择封面数量
type: number
default: 4
card_hover_summary:
name: card_hover_summary
label: 卡片显示简介
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
description: '悬浮显示简介'
open_night_mode:
name: open_night_mode
label: 开启夜晚模式
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
Icp:
name: Icp
label: 'ICP 备案号'
type: text
placeholder: '填入 ICP 备案号,没有则不填. '
PublicSecurityRecord:
name: PublicSecurityRecord
label: '网安备案号'
type: text
placeholder: '填入网安备案号代码,没有则不填'
QR_code_zfb:
name: QR_code_zfb
label: '支付宝二维码链接'
type: attachment
placeholder: '支付宝收款二维码链接,不填不显示'
QR_code_wx:
name: QR_code_wx
label: '微信二维码链接'
type: attachment
placeholder: '微信收款二维码链接,不填不显示'
head_img:
label: 网页首部图片
items:
archives_patternimg:
name: archives_patternimg
label: 归档页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
links_patternimg:
name: links_patternimg
label: 友情链接页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
tag_patternimg:
name: tag_patternimg
label: 标签页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
categories_patternimg:
name: categories_patternimg
label: 分类页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
journals_patternimg:
name: journals_patternimg
label: 日志下文章页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
photos_patternimg:
name: photos_patternimg
label: 相册页面默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
search_patternimg:
name: search_patternimg
label: 搜索结果默认头部图
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
links_placeholder:
name: links_placeholder
label: 友情链接默认用户头像
type: attachment
default: https://cdn.jsdelivr.net/gh/xzzai/static@master/uPic/default-bg.jpg
post:
label: 文章页
items:
post_toc:
name: post_toc
label: 目录
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
post_nepre:
name: post_nepre
label: 下一篇
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
enabled_mathjax:
name: enabled_mathjax
label: Mathjax
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
social_share:
name: social_share
label: 开启文章分享
type: radio
data-type: bool
default: false
options:
- value: true
label: 是
- value: false
label: 否
share_disabeld:
name: share_disabeld
label: 分享禁用
type: text
default: 'google,twitter,facebook'
placeholder: '文章分享禁用社交软件'
description: '文章分享禁用社交软件,比如: google,twitter,facebook,weibo,qq,qzone,linkedin,wechat,douban,diandian'
code_style:
name: code_style
label: 代码风格
type: select
data-type: string
default: 'tomorrow-night-bright'
description: '代码风格'
options:
- value: 'tomorrow-night-bright'
label: 'tomorrow'
- value: 'atelier-lakeside-light'
label: 'atelier'
- value: 'atom-one-light'
label: 'atom'
- value: 'github'
label: 'github'
- value: 'github-gist'
label: 'github-gist'
- value: 'kimbie.light'
label: 'kimbie'
- value: 'paraiso-light'
label: 'paraiso'
# enabled_mermaid:
# name: enabled_mermaid
# label: Mermaid
# type: radio
# data-type: bool
# default: false
# options:
# - value: true
# label: 开启
# - value: false
# label: 关闭
title:
label: 页面标题
items:
links_title:
name: links_title
label: 友链页面标题
type: text
default: 友链
jounarls_title:
name: jounarls_title
label: 日志页面标题
type: text
default: 日志
tags_title:
name: tags_title
label: 标签页面标题
type: text
default: 标签列表
categories_title:
name: categories_title
label: 分类列表页面标题
type: text
default: 分类列表
achieve_title:
name: achieve_title
label: 归档页面标题
type: text
default: 归档
photos_title:
name: photos_title
label: 相册页面标题
type: text
default: 相册
social:
label: 社交网络
items:
# wechat:
# name: wechat
# label: 微信二维码
# type: attachment
sina:
name: sina
label: 新浪微博
type: text
placeholder: '用于展示底部新浪微博社交信息'
description: '新浪微博主页链接'
telegram:
name: telegram
label: Telegram
type: text
placeholder: '用于展示底部 Telegram 社交信息'
description: 'Telegram 用户名'
twitter:
name: twitter
label: Twitter
type: text
placeholder: '用于展示底部 Twitter 社交信息'
description: 'Twitter 主页链接'
qq:
name: qq
label: 腾讯 QQ
type: text
placeholder: '用于展示底部 QQ 社交信息'
description: 'QQ 号码'
github:
name: github
label: Github
type: text
placeholder: '用于展示底部 Github 社交信息'
description: 'GitHub 主页链接'
zhihu:
name: zhihu
label: 知乎
type: text
placeholder: '用于展示底部知乎社交信息'
description: '知乎主页链接'
mail:
name: mail
label: 邮箱
type: text
placeholder: '用于展示底部邮箱社交信息'
description: '邮箱地址'
rss:
name: rss
label: 订阅按钮
type: radio
data-type: bool
default: true
options:
- value: true
label: 开启
- value: false
label: 关闭
experimental:
label: 实验性功能
items:
pjax_enabled:
name: pjax_enabled
label: 全局 Pjax
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
other:
label: 其他
items:
TimeStatistics:
name: TimeStatistics
label: '站点运行时间统计'
type: text
description: '填入起始时间,格式:月/日/年 时:分:秒,如08/20/2018 12:00:00'
visit_statistics:
name: visit_statistics
label: 用户访问统计
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
Aplayer:
name: Aplayer
label: Aplayer吸底播放器
type: text
placeholder: '网易云歌单id'
description: '网易云歌单id, 比如: 60198. '
xiang_ying_xiong_zhi_jing:
name: xiang_ying_xiong_zhi_jing
label: 向英雄致敬, 愿精神长存
type: radio
data-type: bool
default: false
options:
- value: true
label: 开启
- value: false
label: 关闭
description: '惟愿此功能永远不会被使用'
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。