83 lines
2.5 KiB
YAML
83 lines
2.5 KiB
YAML
general:
|
||
label: 基本设置
|
||
items:
|
||
favicon:
|
||
name: favicon
|
||
label: 站点图标
|
||
type: attachment
|
||
default: 'https://api.lixingyong.com/api/images'
|
||
description: '在这里填入一张 png 图片地址(<a>192x192px</a>),不填则使用默认图标'
|
||
background:
|
||
name: background
|
||
label: 站点背景
|
||
type: attachment
|
||
default: ''
|
||
description: '在这里填入一张图片地址,不填则显示纯色背景'
|
||
home_social:
|
||
name: home_social
|
||
label: 自定义社交链接
|
||
type: textarea
|
||
placeholder: ''
|
||
default: ''
|
||
description: '在这里填入你的自定义社交链接,不填则不输出。(格式请看<a href="https://github.com/Dreamer-Paul/Single/releases/tag/1.1" target="_blank">帮助信息</a>)'
|
||
custom_css:
|
||
name: custom_css
|
||
label: 自定义样式表
|
||
type: textarea
|
||
placeholder: ''
|
||
default: ''
|
||
description: '在这里填入你的自定义样式表,不填则不输出。'
|
||
custom_script:
|
||
name: custom_script
|
||
label: 统计代码
|
||
type: textarea
|
||
placeholder: ''
|
||
default: ''
|
||
description: 在这里填入你的统计代码,不填则不输出。需要 <a><script></a>标签 '
|
||
author_text:
|
||
name: author_text
|
||
label: 自定义作者信息
|
||
type: textarea
|
||
placeholder: ''
|
||
default: ''
|
||
description: '显示在文章底部的作者信息,不填则不输出。'
|
||
night_mode:
|
||
name: night_mode
|
||
label: 夜间模式
|
||
type: radio
|
||
data-type: string
|
||
default: '1'
|
||
options:
|
||
- value: '0'
|
||
label: 关闭
|
||
- value: '1'
|
||
label: 开启
|
||
- value: '2'
|
||
label: 始终
|
||
description: '在 22:00 - 5:00 期间自动开启夜间模式,始终则为始终开启夜间模式'
|
||
copy_notice:
|
||
name: copy_notice
|
||
label: 复制提示
|
||
type: radio
|
||
data-type: bool
|
||
default: true
|
||
options:
|
||
- value: true
|
||
label: 开启
|
||
- value: false
|
||
label: 关闭
|
||
description: '开启则会在访客复制内容时弹窗'
|
||
widget_set:
|
||
name: widget_set
|
||
label: 信息栏
|
||
type: radio
|
||
data-type: bool
|
||
default: true
|
||
options:
|
||
- value: true
|
||
label: 开启
|
||
- value: false
|
||
label: 关闭
|
||
description: '是否显示信息栏在页尾显示 “最新文章”、“最近评论” 和 “时光机”'
|
||
# 首页、存档页属性显示
|
||
# 文章页属性显示 |