加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.toml 11.38 KB
一键复制 编辑 原始数据 按行查看 历史
baseurl = "/"
title = "openEuler"
theme = "project"
themesDir = "./themes"
disablePathToLower = true
# Site language. Available translations in the theme's `/i18n` directory.
languageCode = "en-us"
defaultContentLanguage = "zh"
defaultContentLanguageInSubdir = true
# Enable comments by entering your Disqus shortname
disqusShortname = ""
# Enable Google Analytics by entering your tracking code
googleAnalytics = ""
uglyURLs = true
buildFuture = true
# Define the number of posts per page
paginate = 10
[menu]
# Main menu
[[menu.main]]
identifier="home"
name = "Home"
url = "/en"
weight = 1
# [[menu.main]]
# identifier = "user"
# name = "User"
# url = "/en/introduction.html"
# weight = 2
#
# [[menu.main]]
# identifier = "intro"
# name = "Brief Introduction"
# url = "/en/introduction.html"
# parent = "user"
# weight = 1
#
# [[menu.main]]
# identifier = "story"
# name = "User Story"
# url = "/en/story.html"
# parent = "user"
# weight = 2
[[menu.main]]
identifier = "developer"
name = "Developer"
url = "/en/developer.html"
weight = 3
# [[menu.main]]
# identifier = "contribution"
# name = "Contribution"
# url = "/en/contribution.html"
# weight = 1
# parent = "developer"
[[menu.main]]
identifier = "community"
name = "Community"
weight = 4
hasChilren = true
[[menu.main]]
identifier = "mails"
name = "Mail Lists"
url = "/en/community/mails.html"
parent = "community"
weight = 11
[[menu.main]]
identifier = "irc"
name = "IRC"
url = "/en/community/irc.html"
parent = "community"
weight = 9
[[menu.main]]
identifier = "meetings"
name = "Meetings"
url = "/en/meetings.html"
parent = "community"
weight = 10
[[menu.main]]
identifier = "events"
name = "Events"
url = "/en/events.html"
parent = "community"
weight = 2
[[menu.main]]
identifier="news"
name = "News"
url = "/en/news.html"
parent = "community"
weight = 1
[[menu.main]]
identifier = "docs"
name = "Docs"
url = "/en/building/docs.html"
weight = 5
hasChildren = true
[[menu.main]]
identifier = "download"
name = "Download"
url = "/en/building/download.html"
weight = 6
[[menu.main]]
identifier = "lang"
name = "中文"
url = "/zh"
weight = 7
# Menu chinese
[[languages.zh.menu.main]]
dentifier="home"
name = "主页"
url = "/zh"
weight = 1
# [[languages.zh.menu.main]]
# identifier = "user"
# name = "用户"
# url = "/zh/introduction.html"
# weight = 2
#
# [[languages.zh.menu.main]]
# identifier = "intro"
# name = "软件介绍"
# url = "/zh/introduction.html"
# parent = "user"
# weight = 1
#
# [[languages.zh.menu.main]]
# identifier = "story"
# name = "用户故事"
# url = "/zh/story.html"
# parent = "user"
# weight = 2
[[languages.zh.menu.main]]
identifier = "developer"
name = "开发者"
url = "/zh/developer.html"
weight = 3
# [[languages.zh.menu.main]]
# identifier = "contribution"
# name = "如何贡献"
# url = "/zh/contribution.html"
# weight = 1
# parent = "developer"
[[languages.zh.menu.main]]
identifier = "community"
name = "社区"
weight = 4
hasChilren = true
[[languages.zh.menu.main]]
identifier = "mails"
name = "邮件列表"
url = "/zh/community/mails.html"
parent = "community"
weight = 11
[[languages.zh.menu.main]]
identifier = "irc"
name = "IRC"
url = "/zh/community/irc.html"
parent = "community"
weight = 9
[[languages.zh.menu.main]]
identifier = "meetings"
name = "会议"
url = "/zh/meetings.html"
parent = "community"
weight = 10
[[languages.zh.menu.main]]
identifier = "events"
name = "活动"
url = "/zh/events.html"
parent = "community"
weight = 2
[[languages.zh.menu.main]]
identifier="news"
name = "新闻"
url = "/zh/news.html"
weight = 1
parent = "community"
[[languages.zh.menu.main]]
identifier = "docs"
name = "文档"
url = "/zh/docs/home.html"
weight = 5
hasChidren = true
[[languages.zh.menu.main]]
identifier = "release"
name = "发行说明"
parent = "docs"
url = "/zh/docs/Releasenotes/release_notes.html"
weight = 2
[[languages.zh.menu.main]]
identifier = "install"
name = "安装指南"
parent = "docs"
url = "/zh/docs/Installation/installation.html"
weight=3
[[languages.zh.menu.main]]
identifier = "management"
name = "管理员指南"
parent = "docs"
url = "/zh/docs/Administration/administration.html"
weight = 4
[[languages.zh.menu.main]]
identifier = "container"
name = "容器用户指南"
parent = "docs"
url = "/zh/docs/Container/container.html"
weight = 5
[[languages.zh.menu.main]]
identifier = "vitrual"
name = "虚拟化用户指南"
parent = "docs"
url = "/zh/docs/Virtualization/virtualization.html"
weight = 6
[[languages.zh.menu.main]]
identifier = "download"
name = "下载"
url = "/zh/building/download.html"
weight = 6
[[languages.zh.menu.main]]
identifier = "lang"
name = "EN"
url = "/en"
weight = 7
# Top bar social links menu
[[menu.topbar]]
weight = 1
name = "GitHub"
url = "https://gitee.com/openeuler"
pre = "<i class='fa fa-2x fa-github'></i>"
[[menu.topbar]]
weight = 2
name = "Email"
url = "mailto:freesky.edward@gmail.com"
pre = "<i class='fa fa-2x fa-envelope'></i>"
[params]
viewMorePostLink = "/news/"
author = "openEuler"
defaultKeywords = ["devows", "hugo", "go", "openEuler"]
defaultDescription = "Site template made by devcows Modified by openEuler team"
# Twitter
# twitter = "GoHugoIO"
# twitterImage = "img/twitter-default.png"
# Google Maps API key (if not set will default to not passing a key.)
# googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
# Style options: default (light-blue), blue, green, marsala, pink, red, turquoise, violet
style = "blue"
# Enable the contact form by entering your Formspree.io email
email = "contact@openeuler.org"
contact_form_ajax = false
about_us = "<p>We are an open source orgnization provides open source software.</p>"
# Format dates with Go's time formatting
date_format = "2006-01-02"
logo = "img/openeuler.png"
logo_small = "img/openeuler.png"
address = """<p><strong>openEuler, io.</strong>
<br>
<br>Newtown upon River
<br>Beijing
<br>
<strong>China</strong>
</p>
"""
#latitude = "-12.043333"
#longitude = "-77.028333"
### DOC Configurations
BookRepo = 'https://gitee.com/openeuler/docs'
BookEditPath= 'blob/master/content'
BookDateFormat = 'Jan 2, 2019'
enableGitInfo = true
BookMenuBundle = '/menu'
bookHidden = true
bookFlatSection = true
[Permalinks]
blog = "/blog/:year/:month/:day/:filename/"
# Enable or disable top bar with social icons
[params.topbar]
enable = false
text = """<p class="hidden-sm hidden-xs">Contact us by freesky.edward@gmail.com.</p>
<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]
categories = false
tags = false
search = false
[params.cards]
enable = true
# cards
[[params.card]]
image = "/img/1.svg"
title = "Contributions"
url = "/en/developer.html"
description = "We appreciate your ideas and contributions"
weight = 1
[[params.card]]
image = "/img/2.svg"
title = "Quick Start"
url = "/en/building/docs.html"
description = "Tutorial guide for you a quick start"
weight = 2
[[params.card]]
image = "/img/3.svg"
title = "Memebers"
url = "#memebers"
description = "Trustworthy memberships in this community"
weight = 3
[[params.card]]
image = "/img/4.svg"
title = "Application Development"
url = "/en/building/docs.html"
description = "Feel free to start development here"
weight = 4
# chinese cards
[[languages.zh.params.card]]
image = "/img/1.svg"
title = "社区贡献"
url = "/zh/developer.html"
description = "不管您是初学者还是有经验的开发者,这里将帮助您快速参与贡献。"
weight = 1
[[languages.zh.params.card]]
image = "/img/2.svg"
title = "快速入门"
url = "/zh/building/quickstart.html"
description = "如果您想要尝试使用openEuler,这里提供教程助您快速入门。"
weight = 2
[[languages.zh.params.card]]
image = "/img/3.svg"
title = "社区会员"
url = "#memebers"
description = "了解社区会员,欢迎贵公司或者组织加入我们成为社区一员。"
weight = 3
[[languages.zh.params.card]]
image = "/img/4.svg"
title = "应用开发"
url = "/zh/building/applicationdevelopment.html"
description = "如果您想要在openEuler运行您的应用,这里提供开发应用的教程。"
weight = 4
# why party configuration
[params.why]
enable = true
[params.emails]
enable = true
[params.news]
enable = true
[params.events]
enable = true
[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]
enable = false
# 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"
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"
[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.
title = "Our Partners"
subtitle = ""
[params.recent_posts]
enable = true
title = "From our news"
subtitle = "There are many events ocur since we announce open source, Please keep an your eye on us."
[params.copyright]
enable = true
text = "Copyright © openEuler 2019 - 2020. All rights reserved. Please see our <a href=\"/en/legal.html\">Legal Notice</a>."
[languages.zh.params.copyright]
enable = true
text = "版权所有 © openEuler 2019 - 2020 保留一切权利 请参见<a href=\"/zh/legal.html\">法律声明</a>"
[languages]
[languages.en]
languageCode = "en-us"
contentDir = "content/en"
[languages.zh]
languageCode = "zh-cn"
contentDir = "content/zh"
[taxonomies]
category = "categories"
tag = "tags"
version = "versions"
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化