Halo 版本的Single主题
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

239 lines
6.3 KiB

general:
label: 基本设置
items:
favicon:
name: favicon
label: 站点图标
type: attachment
default: ''
description: '在这里填入一张 png 图片地址(<a>192x192px</a>),不填则使用默认图标'
background:
name: background
label: 站点背景
type: attachment
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 期间自动开启夜间模式,始终则为始终开启夜间模式'
Code_highlighting:
name: Code_highlighting
label: 代码高亮
type: select
data-type: string
default: "one-dark"
description: "设置代码块主题,可通过后台元数据为每篇文章设置单独的代码主题,主题来自 prism-themes,见https://github.com/PrismJS/prism-themes"
options:
- value: "one-dark"
label: "one-dark"
- value: "one-light"
label: "one-light"
- value: "a11y-dark"
label: "a11y-dark"
- value: "atom-dark"
label: "atom-dark"
- value: "base16-ateliersulphurpool.light"
label: "base16-ateliersulphurpool.light"
- value: "cb"
label: "cb"
- value: "coldark-cold"
label: "coldark-cold"
- value: "coldark-dark"
label: "coldark-dark"
- value: "coy-without-shadows"
label: "coy-without-shadows"
- value: "darcula"
label: "darcula"
- value: "dracula"
label: "dracula"
- value: "duotone-dark"
label: "duotone-dark"
- value: "duotone-earth"
label: "duotone-earth"
- value: "duotone-forest"
label: "duotone-forest"
- value: "duotone-light"
label: "duotone-light"
- value: "duotone-sea"
label: "duotone-sea"
- value: "duotone-space"
label: "duotone-space"
- value: "ghcolors"
label: "ghcolors"
- value: "gruvbox-dark"
label: "gruvbox-dark"
- value: "gruvbox-light"
label: "gruvbox-light"
- value: "holi-theme"
label: "holi-theme"
- value: "hopscotch"
label: "hopscotch"
- value: "lucario"
label: "lucario"
- value: "material-dark"
label: "material-dark"
- value: "material-light"
label: "material-light"
- value: "material-oceanic"
label: "material-oceanic"
- value: "night-owl"
label: "night-owl"
- value: "nord"
label: "nord"
- value: "pojoaque"
label: "pojoaque"
- value: "shades-of-purple"
label: "shades-of-purple"
- value: "solarized-dark-atom"
label: "solarized-dark-atom"
- value: "synthwave84"
label: "synthwave84"
- value: "vs"
label: "vs"
- value: "vsc-dark-plus"
label: "vsc-dark-plus"
- value: "xonokai"
label: "xonokai"
- value: "z-touch"
label: "z-touch"
author_text:
name: author_text
label: 自定义作者信息
type: textarea
placeholder: ''
default: ''
description: '显示在文章底部的作者信息,不填则不输出。'
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: '是否显示信息栏在页尾显示 “最新文章”、“最近评论” 和 “时光机”'
custom_css:
name: custom_css
label: 自定义样式表
type: textarea
placeholder: ''
default: ''
description: '在这里填入你的自定义样式表,不填则不输出。'
home_social:
label: 社交链接
items:
wechat:
name: wechat
label: 微信二维码
type: attachment
sina:
name: sina
label: 新浪微博
type: text
qq:
name: qq
label: 腾讯QQ
type: text
#qzone:
# name: qzone
# label: QQ空间
# type: text
github:
name: github
label: Github
type: text
#lofter:
# name: lofter
# label: Lofter
# type: text
bili:
name: bili
label: BiliBili
type: text
wangyiyun:
name: wangyiyun
label: 网易云音乐
type: text
twitter:
name: twitter
label: Twitter
type: text
facebook:
name: facebook
label: Facebook
type: text
# googleplus:
# name: googleplus
# label: Google+
# type: text
# jianshu:
# name: jianshu
# label: 简书
# type: text
# csdn:
# name: csdn
# label: CSDN
# type: text
zhihu:
name: zhihu
label: 知乎
type: text
telegram:
name: telegram
label: Telegram
type: text
email:
name: email
label: 邮箱
type: text
stackoverflow:
name: stackoverflow
label: Stack Overflow
type: text
# customize_icon:
# name: customize_icon
# label: 自定义社交图标
# type: text
# customize_title:
# name: customize_title
# label: 自定义社交标题
# type: text
# customize_link:
# name: customize_link
# label: 自定义社交链接
# type: text
customize_homeSocial:
name: customize_homeSocial
label: 社交链接
type: textarea
placeholder: ''
default: ''
description: '在这里填入你的自定义社交链接,不填则不输出。(格式请看<a href="https://github.com/Dreamer-Paul/Single/releases/tag/1.1" target="_blank">帮助信息</a>)'
# 首页、存档页属性显示
# 文章页属性显示