config.toml 11.4 KB
Newer Older
F
freesky-edward 已提交
1
baseurl = "/"
F
freesky-edward 已提交
2
title = "openEuler"
F
freesky-edward 已提交
3 4
theme = "project"
themesDir = "./themes"
F
freesky-edward 已提交
5 6 7

disablePathToLower = true

F
freesky-edward 已提交
8
# Site language. Available translations in the theme's `/i18n` directory.
F
freesky-edward 已提交
9
languageCode = "en-us"
E
edisonxiang 已提交
10
defaultContentLanguage = "zh"
E
edisonxiang 已提交
11
defaultContentLanguageInSubdir = true
F
freesky-edward 已提交
12
# Enable comments by entering your Disqus shortname
F
freesky-edward 已提交
13
disqusShortname = ""
F
freesky-edward 已提交
14 15 16
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""

E
edisonxiang 已提交
17
uglyURLs = true
E
edisonxiang 已提交
18
buildFuture = true
E
edisonxiang 已提交
19

F
freesky-edward 已提交
20 21 22 23 24 25 26 27 28 29
# Define the number of posts per page
paginate = 10

[menu]

# Main menu

[[menu.main]]
    identifier="home"
    name = "Home"
E
edisonxiang 已提交
30
    url  = "/en"
F
freesky-edward 已提交
31 32
    weight = 1

E
edisonxiang 已提交
33 34 35
# [[menu.main]]
#     identifier = "user"
#     name = "User"
E
edisonxiang 已提交
36
#     url = "/en/introduction.html"
E
edisonxiang 已提交
37 38 39 40 41
#     weight = 2
#
# [[menu.main]]
#     identifier = "intro"
#     name = "Brief Introduction"
E
edisonxiang 已提交
42
#     url = "/en/introduction.html"
E
edisonxiang 已提交
43 44 45 46 47 48
#     parent = "user"
#     weight = 1
#
# [[menu.main]]
#     identifier = "story"
#     name = "User Story"
E
edisonxiang 已提交
49
#     url = "/en/story.html"
E
edisonxiang 已提交
50 51
#     parent = "user"
#     weight = 2
F
freesky-edward 已提交
52 53 54 55

[[menu.main]]
    identifier = "developer"
    name = "Developer"
E
edisonxiang 已提交
56
    url = "/en/developer.html"
F
freesky-edward 已提交
57 58
    weight = 3

E
edisonxiang 已提交
59 60 61
# [[menu.main]]
#     identifier = "contribution"
#     name = "Contribution"
E
edisonxiang 已提交
62
#     url = "/en/contribution.html"
E
edisonxiang 已提交
63 64
#     weight = 1
#     parent = "developer"
F
freesky-edward 已提交
65

F
freesky-edward 已提交
66 67 68
[[menu.main]]
    identifier = "community"
    name = "Community"
F
freesky-edward 已提交
69
    weight = 4
F
freesky-edward 已提交
70 71 72 73 74
    hasChilren = true

[[menu.main]]
    identifier = "mails"
    name = "Mail Lists"
E
edisonxiang 已提交
75
    url = "/en/community/mails.html"
F
freesky-edward 已提交
76
    parent = "community"
F
freesky-edward 已提交
77
    weight = 11
F
freesky-edward 已提交
78 79 80 81

[[menu.main]]
    identifier = "irc"
    name = "IRC"
E
edisonxiang 已提交
82
    url = "/en/community/irc.html"
F
freesky-edward 已提交
83 84 85
    parent = "community"
    weight = 9

F
freesky-edward 已提交
86 87
[[menu.main]]
    identifier = "meetings"
F
freesky-edward 已提交
88
    name = "Meetings"
F
freesky-edward 已提交
89 90 91 92
    url = "/en/meetings.html"
    parent = "community"
    weight = 10

F
freesky-edward 已提交
93 94
[[menu.main]]
    identifier = "events"
F
freesky-edward 已提交
95
    name = "Events"
E
edisonxiang 已提交
96
    url = "/en/events.html"
F
freesky-edward 已提交
97 98 99
    parent = "community"
    weight = 2

F
freesky-edward 已提交
100
[[menu.main]]
F
freesky-edward 已提交
101 102
    identifier="news"
    name = "News"
E
edisonxiang 已提交
103
    url  = "/en/news.html"
F
freesky-edward 已提交
104 105
    parent = "community"
    weight = 1
F
freesky-edward 已提交
106

T
TommyLike 已提交
107 108
[[menu.main]]
    identifier = "docs"
E
edisonxiang 已提交
109
    name = "Docs"
F
freesky-edward 已提交
110
    url  = "/en/building/docs.html"
F
freesky-edward 已提交
111
    weight = 5
F
freesky-edward 已提交
112 113
    hasChildren = true

T
TommyLike 已提交
114 115 116
[[menu.main]]
    identifier = "download"
    name = "Download"
E
edisonxiang 已提交
117
    url  = "/en/building/download.html"
T
TommyLike 已提交
118
    weight = 6
F
freesky-edward 已提交
119

F
freesky-edward 已提交
120

F
freesky-edward 已提交
121 122 123
[[menu.main]]
    identifier = "lang"
    name = "中文"
E
edisonxiang 已提交
124
    url = "/zh"
F
freesky-edward 已提交
125 126 127 128 129 130
    weight = 7

# Menu chinese
[[languages.zh.menu.main]]
    dentifier="home"
    name = "主页"
E
edisonxiang 已提交
131
    url  = "/zh"
F
freesky-edward 已提交
132 133
    weight = 1

E
edisonxiang 已提交
134 135 136
# [[languages.zh.menu.main]]
#     identifier = "user"
#     name = "用户"
E
edisonxiang 已提交
137
#     url = "/zh/introduction.html"
E
edisonxiang 已提交
138 139 140 141 142
#     weight = 2
#
# [[languages.zh.menu.main]]
#     identifier = "intro"
#     name = "软件介绍"
E
edisonxiang 已提交
143
#     url = "/zh/introduction.html"
E
edisonxiang 已提交
144 145 146 147 148 149
#     parent = "user"
#     weight = 1
#
# [[languages.zh.menu.main]]
#     identifier = "story"
#     name = "用户故事"
E
edisonxiang 已提交
150
#     url = "/zh/story.html"
E
edisonxiang 已提交
151 152
#     parent = "user"
#     weight = 2
F
freesky-edward 已提交
153 154 155 156

[[languages.zh.menu.main]]
    identifier = "developer"
    name = "开发者"
E
edisonxiang 已提交
157
    url = "/zh/developer.html"
F
freesky-edward 已提交
158 159
    weight = 3

E
edisonxiang 已提交
160 161 162
# [[languages.zh.menu.main]]
#     identifier = "contribution"
#     name = "如何贡献"
E
edisonxiang 已提交
163
#     url = "/zh/contribution.html"
E
edisonxiang 已提交
164 165
#     weight = 1
#     parent = "developer"
F
freesky-edward 已提交
166

F
freesky-edward 已提交
167 168 169
[[languages.zh.menu.main]]
    identifier = "community"
    name = "社区"
F
freesky-edward 已提交
170
    weight = 4
F
freesky-edward 已提交
171 172 173 174 175
    hasChilren = true

[[languages.zh.menu.main]]
    identifier = "mails"
    name = "邮件列表"
E
edisonxiang 已提交
176
    url = "/zh/community/mails.html"
F
freesky-edward 已提交
177
    parent = "community"
F
freesky-edward 已提交
178
    weight = 11
F
freesky-edward 已提交
179 180 181 182

[[languages.zh.menu.main]]
    identifier = "irc"
    name = "IRC"
E
edisonxiang 已提交
183
    url = "/zh/community/irc.html"
F
freesky-edward 已提交
184 185 186
    parent = "community"
    weight = 9

F
freesky-edward 已提交
187 188
[[languages.zh.menu.main]]    
    identifier = "meetings"
F
freesky-edward 已提交
189
    name = "会议"
F
freesky-edward 已提交
190 191 192 193
    url = "/zh/meetings.html"
    parent = "community"
    weight = 10

F
freesky-edward 已提交
194 195
[[languages.zh.menu.main]]
    identifier = "events"
196
    name = "活动"
E
edisonxiang 已提交
197
    url = "/zh/events.html"
F
freesky-edward 已提交
198 199 200
    parent = "community"
    weight = 2

F
freesky-edward 已提交
201 202 203
[[languages.zh.menu.main]]
    identifier="news"
    name = "新闻"
E
edisonxiang 已提交
204
    url  = "/zh/news.html"
F
freesky-edward 已提交
205 206
    weight = 1
    parent = "community"
F
freesky-edward 已提交
207 208 209 210

[[languages.zh.menu.main]]
    identifier = "docs"
    name = "文档"
E
edisonxiang 已提交
211
    url  = "/zh/docs/home.html"
F
freesky-edward 已提交
212
    weight = 5
F
freesky-edward 已提交
213 214 215
    hasChidren = true

[[languages.zh.menu.main]]
F
freesky-edward 已提交
216 217
    identifier = "release"
    name = "发行说明"
F
freesky-edward 已提交
218
    parent = "docs"
F
freesky-edward 已提交
219
    url = "/zh/docs/Releasenotes/release_notes.html"
F
freesky-edward 已提交
220
    weight = 2
F
freesky-edward 已提交
221 222

[[languages.zh.menu.main]]
F
freesky-edward 已提交
223 224
    identifier = "install"
    name = "安装指南"
F
freesky-edward 已提交
225
    parent = "docs"
F
freesky-edward 已提交
226
    url = "/zh/docs/Installation/installation.html"
F
freesky-edward 已提交
227
    weight=3
F
freesky-edward 已提交
228

F
freesky-edward 已提交
229
[[languages.zh.menu.main]]
F
freesky-edward 已提交
230 231
    identifier = "management"
    name = "管理员指南"
F
freesky-edward 已提交
232
    parent = "docs"
F
freesky-edward 已提交
233
    url = "/zh/docs/Administration/administration.html"
F
freesky-edward 已提交
234 235
    weight = 4

F
freesky-edward 已提交
236 237 238 239
[[languages.zh.menu.main]]
    identifier = "container"
    name = "容器用户指南"
    parent = "docs"
F
freesky-edward 已提交
240
    url = "/zh/docs/Container/container.html"
F
freesky-edward 已提交
241 242 243 244 245 246
    weight = 5

[[languages.zh.menu.main]]
    identifier = "vitrual"
    name = "虚拟化用户指南"
    parent = "docs"
F
freesky-edward 已提交
247
    url = "/zh/docs/Virtualization/virtualization.html"
F
freesky-edward 已提交
248 249 250
    weight = 6


F
freesky-edward 已提交
251 252 253
[[languages.zh.menu.main]]
    identifier = "download"
    name = "下载"
E
edisonxiang 已提交
254
    url  = "/zh/building/download.html"
F
freesky-edward 已提交
255 256
    weight = 6

F
freesky-edward 已提交
257

F
freesky-edward 已提交
258 259 260
[[languages.zh.menu.main]]
    identifier = "lang"
    name = "EN"
E
edisonxiang 已提交
261
    url = "/en"
F
freesky-edward 已提交
262 263
    weight = 7

F
freesky-edward 已提交
264 265 266 267 268
# Top bar social links menu

[[menu.topbar]]
    weight = 1
    name = "GitHub"
F
freesky-edward 已提交
269
    url = "https://gitee.com/openeuler"
F
freesky-edward 已提交
270 271 272 273
    pre = "<i class='fa fa-2x fa-github'></i>"


[[menu.topbar]]
F
freesky-edward 已提交
274
    weight = 2
F
freesky-edward 已提交
275
    name = "Email"
F
freesky-edward 已提交
276
    url = "mailto:freesky.edward@gmail.com"
F
freesky-edward 已提交
277 278 279
    pre = "<i class='fa fa-2x fa-envelope'></i>"

[params]
F
freesky-edward 已提交
280 281 282 283
    viewMorePostLink = "/news/"
    author = "openEuler"
    defaultKeywords = ["devows", "hugo", "go", "openEuler"]
    defaultDescription = "Site template made by devcows Modified by openEuler team"
F
freesky-edward 已提交
284 285

    # Twitter
F
freesky-edward 已提交
286 287
    # twitter = "GoHugoIO"
    # twitterImage = "img/twitter-default.png"
F
freesky-edward 已提交
288 289

    # Google Maps API key (if not set will default to not passing a key.)
F
freesky-edward 已提交
290
    # googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
F
freesky-edward 已提交
291 292

    # Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
F
freesky-edward 已提交
293 294
    style = "blue"

F
freesky-edward 已提交
295
    # Enable the contact form by entering your Formspree.io email
E
edisonxiang 已提交
296
    email = "contact@openeuler.org"
F
freesky-edward 已提交
297 298
    contact_form_ajax = false

F
freesky-edward 已提交
299
    about_us = "<p>We are an open source orgnization provides open source software.</p>"
F
freesky-edward 已提交
300 301

    # Format dates with Go's time formatting
E
edisonxiang 已提交
302
    date_format = "2006-01-02"
F
freesky-edward 已提交
303

F
freesky-edward 已提交
304 305 306 307
    logo = "img/openeuler.png"
    logo_small = "img/openeuler.png"
    address = """<p><strong>openEuler, io.</strong>
        <br>
F
freesky-edward 已提交
308
        <br>Newtown upon River
F
freesky-edward 已提交
309
        <br>Beijing
F
freesky-edward 已提交
310
        <br>
F
freesky-edward 已提交
311
        <strong>China</strong>
F
freesky-edward 已提交
312 313
      </p>
      """
F
freesky-edward 已提交
314 315
    #latitude = "-12.043333"
    #longitude = "-77.028333"
F
freesky-edward 已提交
316 317
    
    ### DOC Configurations
F
freesky-edward 已提交
318 319
    BookRepo = 'https://gitee.com/openeuler/docs'
    BookEditPath= 'blob/master/content'
F
freesky-edward 已提交
320 321
    BookDateFormat = 'Jan 2, 2019'
    enableGitInfo = true
T
TommyLike 已提交
322
    BookMenuBundle = '/menu'
F
freesky-edward 已提交
323 324
    bookHidden = true
    bookFlatSection = true
F
freesky-edward 已提交
325 326 327 328 329 330

[Permalinks]
    blog = "/blog/:year/:month/:day/:filename/"

# Enable or disable top bar with social icons
[params.topbar]
F
freesky-edward 已提交
331
    enable = false
F
freesky-edward 已提交
332
    text = """<p class="hidden-sm hidden-xs">Contact us by freesky.edward@gmail.com.</p>
F
freesky-edward 已提交
333 334 335 336 337 338 339
      <p class="hidden-md hidden-lg"><a href="#" data-animate-hover="pulse"><i class="fa fa-phone"></i></a>
      <a href="#" data-animate-hover="pulse"><i class="fa fa-envelope"></i></a>
      </p>
      """

# Enable and disable widgets for the right sidebar
[params.widgets]
E
edisonxiang 已提交
340 341 342
    categories = false
    tags = false
    search = false
F
freesky-edward 已提交
343

E
edisonxiang 已提交
344 345
[params.cards]
    enable = true
F
freesky-edward 已提交
346 347 348 349 350


# cards 
[[params.card]]
    image = "/img/1.svg"
351
    title = "Contributions"
E
edisonxiang 已提交
352
    url = "/en/developer.html"
353
    description = "We appreciate your ideas and contributions"
F
freesky-edward 已提交
354 355 356 357
    weight = 1

[[params.card]]
    image = "/img/2.svg"
358
    title = "Quick Start"
E
edisonxiang 已提交
359
    url = "/en/building/docs.html"
360
    description = "Tutorial guide for you a quick start"
F
freesky-edward 已提交
361 362 363 364
    weight = 2

[[params.card]]
    image = "/img/3.svg"
E
edisonxiang 已提交
365 366
    title = "Memebers"
    url = "#memebers"
367
    description = "Trustworthy memberships in this community"
F
freesky-edward 已提交
368 369 370 371 372
    weight = 3

[[params.card]]
    image = "/img/4.svg"
    title = "Application Development"
E
edisonxiang 已提交
373
    url = "/en/building/docs.html"
374
    description = "Feel free to start development here"
F
freesky-edward 已提交
375 376 377 378 379 380
    weight = 4

#  chinese cards
[[languages.zh.params.card]]
    image = "/img/1.svg"
    title = "社区贡献"
F
freesky-edward 已提交
381
    url = "/zh/developer.html"
E
edisonxiang 已提交
382
    description = "不管您是初学者还是有经验的开发者,这里将帮助您快速参与贡献。"
F
freesky-edward 已提交
383 384 385 386 387
    weight = 1

[[languages.zh.params.card]]
    image = "/img/2.svg"
    title = "快速入门"
E
edisonxiang 已提交
388
    url = "/zh/building/quickstart.html"
E
edisonxiang 已提交
389
    description = "如果您想要尝试使用openEuler,这里提供教程助您快速入门。"
F
freesky-edward 已提交
390 391 392 393
    weight = 2

[[languages.zh.params.card]]
    image = "/img/3.svg"
F
freesky-edward 已提交
394
    title = "社区会员"
E
edisonxiang 已提交
395
    url = "#memebers"
F
freesky-edward 已提交
396
    description = "了解社区会员,欢迎贵公司或者组织加入我们成为社区一员。"
F
freesky-edward 已提交
397 398 399 400 401
    weight = 3

[[languages.zh.params.card]]
    image = "/img/4.svg"
    title = "应用开发"
E
edisonxiang 已提交
402
    url = "/zh/building/applicationdevelopment.html"
E
edisonxiang 已提交
403
    description = "如果您想要在openEuler运行您的应用,这里提供开发应用的教程。"
F
freesky-edward 已提交
404 405 406 407 408
    weight = 4

# why party configuration
[params.why]
    enable = true
E
edisonxiang 已提交
409 410 411 412 413 414 415 416 417 418

[params.emails]
    enable = true

[params.news]
    enable = true

[params.events]
    enable = true

F
freesky-edward 已提交
419 420 421 422 423 424 425 426 427 428 429 430 431
[params.carousel]
    enable = true
    # All carousel items are defined in their own files. You can find example items
    # at 'exampleSite/data/carousel'.
    # For more informtion take a look at the README.

[params.features]
    enable = true
    # All features are defined in their own files. You can find example items
    # at 'exampleSite/data/features'.
    # For more informtion take a look at the README.

[params.testimonials]
F
freesky-edward 已提交
432
    enable = false
F
freesky-edward 已提交
433 434 435 436 437 438 439 440 441
    # All testimonials are defined in their own files. You can find example items
    # at 'exampleSite/data/testimonials'.
    # For more informtion take a look at the README.
    title = "Testimonials"
    subtitle = "We have worked with many clients and we always like to hear they come out from the cooperation happy and satisfied. Have a look what our clients said about us."

[params.see_more]
    enable = true
    icon = "fa fa-file-code-o"
F
freesky-edward 已提交
442 443 444 445
    title = "Do you want to contribute?"
    subtitle = "We apprecite your contribution, whill all related projects are open source."
    link_url = "https://gitee.com/openeuler/"
    link_text = "Go To Source"
F
freesky-edward 已提交
446 447 448 449 450 451

[params.clients]
    enable = true
    # All clients are defined in their own files. You can find example items
    # at 'exampleSite/data/clients'.
    # For more informtion take a look at the README.
F
freesky-edward 已提交
452
    title = "Our Partners"
F
freesky-edward 已提交
453 454
    subtitle = ""

F
freesky-edward 已提交
455

F
freesky-edward 已提交
456 457
[params.recent_posts]
    enable = true
F
freesky-edward 已提交
458 459
    title = "From our news"
    subtitle = "There are many events ocur since we announce open source, Please keep an your eye on us."
F
freesky-edward 已提交
460

F
freesky-edward 已提交
461 462
[params.copyright]
    enable = true
E
edisonxiang 已提交
463
    text = "Copyright © openEuler 2019 - 2020. All rights reserved. Please see our <a href=\"/en/legal.html\">Legal Notice</a>."
F
freesky-edward 已提交
464 465 466

[languages.zh.params.copyright]
    enable = true
E
edisonxiang 已提交
467
    text = "版权所有 © openEuler 2019 - 2020 保留一切权利 请参见<a href=\"/zh/legal.html\">法律声明</a>"
F
freesky-edward 已提交
468

F
freesky-edward 已提交
469 470 471 472
[languages]

[languages.en]
    languageCode = "en-us"
F
freesky-edward 已提交
473
    contentDir = "content/en"
F
freesky-edward 已提交
474

F
freesky-edward 已提交
475 476
[languages.zh]
    languageCode = "zh-cn"
F
freesky-edward 已提交
477
    contentDir = "content/zh"
T
TommyLike 已提交
478 479 480 481 482 483

[taxonomies]
  category = "categories"
  tag = "tags"
  version = "versions"