From c69175ab93b3960e9b8798f15d20fb9e3eb552d7 Mon Sep 17 00:00:00 2001 From: edisonxiang Date: Mon, 9 Sep 2019 14:32:28 +0800 Subject: [PATCH] fix some descriptions --- config.toml | 24 ++++++++++---------- themes/project/layouts/partials/clients.html | 2 +- themes/project/layouts/partials/emails.html | 2 +- themes/project/static/css/custom.css | 6 +++++ 4 files changed, 20 insertions(+), 14 deletions(-) diff --git a/config.toml b/config.toml index f5b0643..ca571a3 100644 --- a/config.toml +++ b/config.toml @@ -354,28 +354,28 @@ paginate = 10 [[params.card]] image = "/img/1.svg" title = "Contribution" - url = "https://gitee.com/openeuler/" + url = "/en/developer.html" description = "Easy to use operating system for laptop and desktop computers" weight = 1 [[params.card]] image = "/img/2.svg" - title = "Getting Started" + title = "Get Started" url = "/en/docs/home.html" description = "We puts you in control of all your infrastructure and services" weight = 2 [[params.card]] image = "/img/3.svg" - title = "Cooperation" - url = "/en/docs/home.html" + title = "Memebers" + url = "#memebers" description = "We provides a trusted open source platform as a strong foundation" weight = 3 [[params.card]] image = "/img/4.svg" title = "Application Development" - url = "/en/docs/home.html" + url = "#" description = "We are always free for anyone to use, modify and development" weight = 4 @@ -383,29 +383,29 @@ paginate = 10 [[languages.zh.params.card]] image = "/img/1.svg" title = "社区贡献" - url = "https://gitee.com/openeuler/" - description = "点击这里了解如何参与社区贡献" + url = "/en/developer.html" + description = "不管您是初学者还是有经验的开发者,这里将帮助您快速参与贡献。" weight = 1 [[languages.zh.params.card]] image = "/img/2.svg" title = "快速入门" url = "/zh/docs/home.html" - description = "点击这里了解如何快速入门" + description = "如果您想要尝试使用openEuler,这里提供教程助您快速入门。" weight = 2 [[languages.zh.params.card]] image = "/img/3.svg" title = "合作伙伴" - url = "/zh/docs/home.html" - description = "了解更多合作伙伴" + url = "#memebers" + description = "了解合作伙伴,欢迎贵公司或者组织加入我们成为社区一员。" weight = 3 [[languages.zh.params.card]] image = "/img/4.svg" title = "应用开发" - url = "/zh/docs/home.html" - description = "点击这里如何开发应用" + url = "#" + description = "如果您想要在openEuler运行您的应用,这里提供开发应用的教程。" weight = 4 # why party configuration diff --git a/themes/project/layouts/partials/clients.html b/themes/project/layouts/partials/clients.html index cd2cba0..d7bb114 100644 --- a/themes/project/layouts/partials/clients.html +++ b/themes/project/layouts/partials/clients.html @@ -1,7 +1,7 @@ {{ if isset .Site.Params "clients" }} {{ if .Site.Params.clients.enable }} {{ if gt (len .Site.Data.clients) 0 }} -
+
diff --git a/themes/project/layouts/partials/emails.html b/themes/project/layouts/partials/emails.html index c33ae8f..b00b5bc 100644 --- a/themes/project/layouts/partials/emails.html +++ b/themes/project/layouts/partials/emails.html @@ -9,7 +9,7 @@ {{ range first 2 $sortedmls}}
  • -

    {{ .Params.emailaddress }}

    +

    {{ .Params.emailaddress }}

    {{ .Params.description }}

    diff --git a/themes/project/static/css/custom.css b/themes/project/static/css/custom.css index f220c1e..cbc4d6e 100644 --- a/themes/project/static/css/custom.css +++ b/themes/project/static/css/custom.css @@ -65,6 +65,7 @@ font-size: 14px; color: #666666; line-height: 20px; + padding: 0 45px; } .bannernew .cards ul li:not(:last-child) { border-right: 1px solid #E3E9EB; @@ -156,6 +157,11 @@ color: #FFFFFF; line-height: 36px; } + +.e_mail ul li h3 a { + color: #FFFFFF; +} + .e_mail ul li p { margin-top: 8px; font-size: 16px; -- GitLab