This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.json
executable file
·63 lines (59 loc) · 2.09 KB
/
theme.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
/*
以下是本主题的配置, 采用JSON格式
其中Name, Version, Author, AuthorUrl是必填项(注意首字大写)
你也可以定义其它的配置, 如FriendLinks, 在模板文件使用 $.themeInfo.FriendLinks来获取值
注意:
1) JSON语法严格, 键必须用双引号, 最后不得有空','来结尾
2) 以下配置不能包含任何注释, 不然解析会出错!
请在此解析所有配置
* Name 主题名
* Version 主题版本
* Author 主题的作者
* AuthorUrl 作者的博客链接或相关链接
* github github角标跳转
* Postend 文章结束标记,默认打开为trun
* copyright:文章结尾版权信息,默认打开为trun
* canvasBg: canvas背景(R,G,B),默认"35,216,183"; 关闭false。
* FriendLinks 友情链接
* gitalk 评论系统相关配置
clientID clientID
clientSecret clientSecret
repo 用来存储评论的仓库名
owner 管理员
admin 谁可以初始化仓库,是个数组,一般填写管理员就行了
* music 音乐单页
name - 音频名称
artist - 音频艺术家
url - 音频链接
cover - 音频封面
lrc - 歌词详情
theme - 切换到此音频时的主题色,比上面的 theme 优先级高
*/
{
"Name": "dllcn-simple-pebbles",
"Version": "1.0",
"Desc": "欲穷大地三千界,须上高峰八百盘。",
"Author": "KeiferJu",
"AuthorUrl": "http://myllcn.com",
"github": "https://github.com/KeiferJu",
"Postend": true,
"copyright": true,
"canvasBg": false,
"FriendLinks": [
{"Title": "我的官网", "Url": "http://myllcn.com"},
{"Title": "我的博客", "Url": "http://blog.myllcn.com"},
{"Title": "npm", "Url": "https://www.npmjs.com/~jkf19980216"},
{"Title": "Github", "Url": "https://github.com/KeiferJu"}
],
"gitalk": {
"clientID": "XXX",
"clientSecret": "XXX",
"repo": "XXX",
"owner": "XXX",
"admin": ["XXX"]
},
"music": [
{"name":"RightNow","artist":"RightNow","url":"http://www.myllcn.com/dassets/music/RightNow.mp3","cover":""},
{"name":"怒放的生命","artist":"汪峰","url":"http://link.hhtjim.com/qq/001faIUs4M2zna.mp3","cover":""}
]
}