diff --git a/config.toml b/config.toml index adea76ec2650d0158170af5b2d96746d1395be5a..5d091fe8b01264ad5f0105b9115f5fbb945c7f5a 100644 --- a/config.toml +++ b/config.toml @@ -218,12 +218,12 @@ paginate = 10 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 = "release" + name = "发行说明" + parent = "docs" + url = "/zh/docs/Releasenotes/release_notes.html" + weight = 2 [[languages.zh.menu.main]] identifier = "install" diff --git a/content/en/versions/_index.md b/content/en/versions/_index.md new file mode 100644 index 0000000000000000000000000000000000000000..71789263e1bcfd14f3d9918953e1ffeb588f5ead --- /dev/null +++ b/content/en/versions/_index.md @@ -0,0 +1,4 @@ ++++ +title = "Versions" + ++++ diff --git a/content/en/versions/version1.0.md b/content/en/versions/version1.0.md new file mode 100644 index 0000000000000000000000000000000000000000..d5af275eb1f3eb93b2e86ef14f62c717ae66a887 --- /dev/null +++ b/content/en/versions/version1.0.md @@ -0,0 +1,9 @@ ++++ +isLastestVersion="true" +version="openEuler 1.0 Beta" +description="openEuler is an open-source Linux distribution. It is an efficient, stable, and secure open-source operating system built by global contributors and applies to database, big data, cloud computing, and artificial intelligence scenarios. " +status="" +releaseDate="" +EOLDate="" +ISOUrl="https://121.36.97.194/openeuler1.0/iso/" ++++ diff --git a/content/zh/versions/_index.md b/content/zh/versions/_index.md new file mode 100644 index 0000000000000000000000000000000000000000..33c54fae6c3fd2345b54d0074cac2631a4cd4e5b --- /dev/null +++ b/content/zh/versions/_index.md @@ -0,0 +1,4 @@ ++++ +title = "版本" + ++++ diff --git a/content/zh/versions/version1.0.md b/content/zh/versions/version1.0.md new file mode 100644 index 0000000000000000000000000000000000000000..ebb187d75c3476f1955e2344a37b9e7f66f705fb --- /dev/null +++ b/content/zh/versions/version1.0.md @@ -0,0 +1,11 @@ ++++ +isLastestVersion="true" +version="openEuler 1.0 Beta" +description="openEuler是一款开源操作系统,其内核源于Linux,是由全球开源贡献者构建的高效、稳定、安全的开源操作系统,适用于数据库、大数据、云计算、人工智能等应用场景。" +status="" +releaseDate="" +releaseNote="https://openeuler.org/zh/docs/Releasenotes/release_notes.html" +installationGuide="https://openeuler.org/zh/docs/Installation/installation.html" +EOLDate="" +ISOUrl="https://121.36.97.194/openeuler1.0/iso/" ++++ diff --git a/i18n/en.toml b/i18n/en.toml index a4cee54e083907517fe1d2854e7d971e73594f67..e66caaeedca710e257d56f8b252a2b02d5ea122a 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -94,10 +94,13 @@ other = "MENU" other = "Download ISO" [download_issues] -other = "Submit issues: " +other = "Submit issues:" -[download_checksum] -other = "please download the checksum file:" +[download_releaseNote] +other = "Release Note:" -[download_iso_button] -other = "Get openEuler-1.0-aarch64-dvd.iso" +[download_getiso] +other = "Download ISO:" + +[download_installationGuide] +other = "Installation guide:" \ No newline at end of file diff --git a/i18n/zh.toml b/i18n/zh.toml index bffa1abe33de7ab9ec87a869f299b490b1f2605e..45eb40ecc8033fa01bd674cbf65752977c471720 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -93,11 +93,17 @@ other = "目录" other = "下载ISO" [download_issues] -other = "如果您遇到问题,请在此提交问题:" +other = "如果您遇到问题,请在此提交问题:" + +[download_releaseNote] +other = "发行说明:" + +[download_getiso] +other = "获取ISO:" + +[download_installationGuide] +other = "安装指南:" + -[download_checksum] -other = "如何检验请下载:" -[download_iso_button] -other = "下载openEuler-1.0-aarch64-dvd.iso" diff --git a/themes/project/layouts/download/list.html b/themes/project/layouts/download/list.html index 80c37111cfa86d036d0d7e4d8dc858a6e139bfa6..629c64f293c35d1b06352c5e9189f9775625774c 100644 --- a/themes/project/layouts/download/list.html +++ b/themes/project/layouts/download/list.html @@ -11,23 +11,29 @@
-
+
+ {{ range where $.Page.Site.Pages "Type" "versions" }} + {{ if .Params }} + {{ if .Params.isLastestVersion}}
-
{{ i18n "download_issues"}}
-
https://gitee.com/openeuler/community-issue
-
{{ i18n "download_checksum"}}
-
openEuler-1.0-aarch64-dvd.iso.sha256sum
-
-
- +

{{.Params.version}}

+
{{.Params.description}}
+ {{ if .Params.releaseNote}} +
{{ i18n "download_releaseNote"}}Link
+ {{ end }} +
{{ i18n "download_getiso"}}Link
+ {{ if .Params.installationGuide}} +
{{ i18n "download_installationGuide"}}Link
+ {{ end }} +
{{ i18n "download_issues"}}Link
- -
- + {{ end }} + {{ end }} + {{ end }} +
-
diff --git a/themes/project/static/css/custom.css b/themes/project/static/css/custom.css index 07166fdf189139bf79cfc9856205ff42fbdf5714..d1c74e7ffd7324adb596f9ef59b8c92189ba1b0e 100644 --- a/themes/project/static/css/custom.css +++ b/themes/project/static/css/custom.css @@ -1094,7 +1094,28 @@ html,body { text-align: left; padding:10px; padding-left:40px; + padding-right:40px; } .downloadWholeBlock{ margin-bottom: 30px; } +.downloadContentBlock .titleLine{ + margin-top:10px; +} +.downloadContentBlock .titleLine1{ + margin-top:10px; + font-size:15px; +} +.downloadContentBlock .titleLine1 strong{ + margin-right:5px; +} +.downloadContentBlock .contentLine{ + margin-top:5px; +} +.downloadVersion{ + margin-bottom: 10px; +} +.downloadDescription{ + margin-bottom:20px; + margin-top:20px; +}