Welcome to mirror list, hosted at ThFree Co, Russian Federation.

stackbit.yaml - github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 232a3be91a76c498bd59316025b87f902b3df30a (plain)
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
stackbitVersion: ~0.2.0
ssgName: custom
publishDir: exampleSite/public
buildCommand: cd exampleSite && hugo --gc --baseURL "/" --themesDir ../.. && cd ..
uploadDir: images
staticDir: static
pagesDir: exampleSite/content
dataDir: exampleSite
models:
  config:
    type: data
    label: Config
    file: config.toml
    fields:
      - type: string
        name: title
        label: Title
      - type: string
        name: baseURL
        label: Base URL
        description: Hostname (and path)  to the root
      - type: boolean
        name: enableRobotsTXT
        label: Enable Robots Text
      - type: boolean
        name: enableEmoji
        label: Enable Emoji
      - type: string
        name: theme
        label: Theme name
      - type: boolean
        name: hasCJKLanguage
        label: Has CJK Language
      - type: number
        name: paginate
        label: Paginate
        description:  Number of articles displayed on the homepage
      - type: number
        name: rssLimit
        label: Rss Limit
        description: Limit Entry Count to Rss file
      - type: string
        name: disqusShortname
        label: Disqus Shortname
      - type: string
        name: googleAnalytics
        label: Google Analytics code
      - type: string
        name: copyright
        label: Copyright
      - type: string
        name: defaultContentLanguage
        label: Default Content Language
      - type: object
        name: languages
        label: Languages
        fields:
          - type: object
            name: en
            label: English
            fields:
              - type: string
                name: languageCode
                label: Language code
      - type: object
        name: author
        label: Author
        fields:
          - type: string
            name: name
            label: Name
      - type: object
        name: sitemap
        label: Sitemap
        fields:
          - type: string
            name: changefreq
            label: Change frequency
          - type: number
            subtype: float
            name: priority
            label: Priority
          - type: string
            name: filename
            label: Filename
      - type: object
        name: menu
        label: Menu
        fields:
          - type: list
            name: main
            label: Main Menu
            items:
              type: object
              fields:
                - type: string
                  name: name
                  label: Menu Name
                - type: number
                  name: weight
                  label: Page order weight
                - type: string
                  name: identifier
                  label: Identifier
                - type: string
                  name: url
                  label: Menu Link
      - type: object
        name: params
        label: Site Parameters
        fields:
          - type: string
            name: since
            label: Since
            description: Site Creation Time
          - type: boolean
            name: homeFullContent
            label: Home Full Content
            description: if false, show post summaries on home page. Othewise show full content.
          - type: boolean
            name: rssFullContent
            label: Rss Full Content
            description: if false, Rss feed instead of the summary
          - type: string
            name: logoTitle
            label: Logo Title
          - type: list
            name: keywords
            label: Keywords
            items:
              type: string
          - type: string
            name: description
            label: description
          - type: string
            name: dateFormatToUse
            label: Date Format
          - type: boolean
            name: toc
            label: TOC
          - type: boolean
            name: photoswipe
            label: Photo Swipe
          - type: string
            name: contentCopyright
            label: Content Copyright
          - type: boolean
            name: moreMeta
            label: Shows word count and read time and comments count (if enabled)
          - type: string
            name: remark42Url
            label: Remark42 URL
          - type: string
            name: remark42SiteId
            label: Remark42 Site ID, optional, `remark` by default
          - type: object
            name: commentCount
            label: Comment Count settings (requires moreMeta to be enabled to work)
            fields:
              - type: object
                name: disqus
                label: Disqus
                fields:
                  - type: boolean
                    name: enable
                    label: Enable Disqus comment count
              - type: object
                name: remark42
                label: Remark42
                fields:
                  - type: boolean
                    name: enable
                    label: Enable Remark42 comment count
          - type: list
            name: customCSS
            label: Custom Css
            description: if ['custom.css'], load '/static/css/custom.css' fileif ['custom.css'], load '/static/css/custom.css' file
            items:
              type: string
          - type: list
            name: customJS
            label: Custom JS
            description: if ['custom.js'], load '/static/js/custom.js' file
            items:
              type: string
          - type: object
            name: social
            label: Social
            fields:
              - type: string
                name: a-email
                label: Email
              - type: string
                name: b-stack-overflow
                label: StackOverflow
              - type: string
                name: c-twitter
                label: Twitter
              - type: string
                name: d-facebook
                label: Facebook
              - type: string
                name: e-linkedin
                label: Linkedin
              - type: string
                name: f-google
                label: Google
              - type: string
                name: g-github
                label: Github
              - type: string
                name: h-weibo
                label: Weibo
              - type: string
                name: i-zhihu
                label: Zhihu
              - type: string
                name: j-douban
                label: Douban
              - type: string
                name: k-pocket
                label: Pocket
              - type: string
                name: l-tumblr
                label: Tumblr
              - type: string
                name: m-instagram
                label: Instagram
              - type: string
                name: n-gitlab
                label: Gitlab
              - type: string
                name: o-goodreads
                label: Goodreads
              - type: string
                name: p-coding
                label: Coding
              - type: string
                name: q-bilibili
                label: Bilibili
              - type: string
                name: r-codeforces
                label: Codeforces
              - type: string
                name: s-mastodon
                label: Mastodon
  basicpage:
    type: page
    label: Basic page
    match: "*.md"
    fields:
      - type: string
        name: title
        label: Title
      - type: datetime
        name: date
        label: Publish Date
      - type: datetime
        name: lastmod
        label: Last Modified Date
      - type: string
        name: menu
        label: Menu
      - type: number
        name: weight
        label: Page Order weight
      - type: boolean
        name: comment
        label: Comment
      - type: boolean
        name: mathjax
        label: Mathjax
        description: see https://www.mathjax.org/
  post:
    type: page
    label: Blog posts
    folder: post
    fields:
      - type: string
        name: title
        label: Blog Title
      - type: string
        name: description
        label: Description
      - type: string
        name: author
        label: Blog Author
      - type: datetime
        name: date
        label: Publish date
      - type: datetime
        name: lastmod
        label: Last Modified Date
      - type: list
        name: tags
        label: Tags
        items:
          type: string
      - type: list
        name: categories
        label: Categories
        items:
          type: string
      - type: boolean
        name: draft
        label: Draft
      - type: boolean
        name: comment
        label: Comment
      - type: boolean
        name: toc
        label: Toc
      - type: boolean
        name: autoCollapseToc
        label: Auto Collaps Toc
      - type: string
        name: contentCopyright
        label: Content Copyright
      - type: boolean
        name: reward
        label: Reward
      - type: boolean
        name: mathjax
        label: Mathjax
        description: see https://www.mathjax.org/
      - type: boolean
        name: katex
        label: Katex
        description: See https://github.com/KaTeX/KaTeX
      - type: string
        name: markup
        label: Markup
        description: See https://gohugo.io/content-management/formats/#mmark
      - type: number
        name: weight
        label: Weight
      - type: object
        name: menu
        label: Menu
        fields:
          - type: object
            name: main
            label: Main
            fields:
              - type: string
                name: parent
                label: Parent Menu
              - type: number
                name: weight
                label: Weight
  authors:
    type: data
    label: Authors Data
    file: data/authors/ted.toml
    fields:
      - type: string
        name: description
        label: Description
      - type: object
        name: name
        label: Name
        fields:
          - type: string
            name: display
            label: Display
      - type: object
        name: image
        label: Image
        fields:
          - type: image
            name: url
            label: Image
          - type: number
            name: width
            label: Image Width
          - type: number
            name: height
            label: Image Height