-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocgr.js
119 lines (100 loc) · 3.51 KB
/
docgr.js
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
var debate= require("./texts");
module.exports= {
// necessary, point to your layout (handlebars)
"layout": "./templates/layout.hbs",
"filename": "index.html",
// necessary, values render into handlbars
"basic": {
// the objects are optional, according to your layout (render by handlebars).
"title": "台北市長辯論",
"og_title": "台北市長辯論",
"og_site_name": "台北市長辯論",
"og_url": "http://sitw.tw/taipei-debate/",
"og_description": "台北市長辯論 逐字稿整理",
"og_image": "http://sitw.tw/taipei-debate/cover.jpg",
"charset": "UTF-8",
"author": "wwwy3y3",
"viewport": "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no",
"shortcut_icon": "https://dl.dropboxusercontent.com/u/28663689/dg/favicon%20%281%29.ico",
"scripts": [
"https://code.jquery.com/jquery-1.11.0.min.js"
],
"stylesheets": [
"http://netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css",
"./index.css"
],
"logo_img": "http://sitw.tw/taipei-debate/cover.jpg",
"github_link": "https://github.com/DataGarage/open-data-license",
"nav": [
{
"title": "主持人開場",
"anchor": "start"
},
{
"title": "柯文哲申論",
"anchor": "kp-intro",
},
{
"title": "連勝文申論",
"anchor": "sean-intro"
},
{
"title": "公民團體提問",
"anchor": "qanda",
"sub": [
{
"title": "台灣勞工陣線協會副理事長:廖慧芳",
"anchor": "liou",
},
{
"title": "社團法人台灣競爭力論壇理事長:彭錦鵬",
"anchor": "pang-ching",
},
{
"title": "台北市青年創業會理事長:江梅提",
"anchor": "chiang",
},
{
"title": "台灣防暴聯盟:張錦麗",
"anchor": "chang",
},
{
"title": "主婦聯盟環境保護基金會:賴曉芬",
"anchor": "lai",
},
{
"title": "都改組織:彭陽凱",
"anchor": "pang-yang",
}
]
},
{
"title": "交叉詰問一",
"anchor": "cross1"
},
{
"title": "交叉詰問二",
"anchor": "cross2"
},
{
"title": "結論",
"anchor": "conclusion",
"sub": [
{
"title": "連勝文結論",
"anchor": "con-sean"
},
{
"title": "柯文哲結論",
"anchor": "con-kp"
}
]
}
],
"start": debate.start,
"intro": debate.intro,
"qanda": debate.qanda,
"cross": debate.cross,
"conclusion": debate.conclusion
}
}