提交 475bec34 编写于 作者: L Librahang

1.Update download page 2.Add Release Note in DOCS module

上级 63f5a487
......@@ -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"
......
+++
title = "Versions"
+++
+++
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/"
+++
+++
title = "版本"
+++
+++
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/"
+++
......@@ -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
......@@ -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"
......@@ -11,23 +11,29 @@
<div id="content">
<div class="container">
<div class="row">
<div class="col-md-12" class="downloadWholeBlock">
<div class="col-md-12 downloadWholeBlock"id="tabArchi">
{{ range where $.Page.Site.Pages "Type" "versions" }}
{{ if .Params }}
{{ if .Params.isLastestVersion}}
<div id="downloadBlock">
<div class="downloadContentBlock">
<h5>{{ i18n "download_issues"}}</h5>
<h5><a href="https://gitee.com/openeuler/community-issue">https://gitee.com/openeuler/community-issue</a></h5>
<h5>{{ i18n "download_checksum"}}</h5>
<h5><a href="https://openeuler.obs.cn-south-1.myhuaweicloud.com:443/release/openEuler-1.0-aarch64-dvd.iso.sha256sum">openEuler-1.0-aarch64-dvd.iso.sha256sum</a></h5>
</div>
<div class="downloadButtonBlock">
<a href="https://openeuler.obs.cn-south-1.myhuaweicloud.com/release/openEuler-1.0-aarch64-dvd.iso"><button type="button" class="btn btn-primary btn-lg btn-download" >{{ i18n "download_iso_button"}}</button></a>
<h3 class="downloadVersion">{{.Params.version}}</h3>
<div class="downloadDescription">{{.Params.description}}</div>
{{ if .Params.releaseNote}}
<div class="titleLine1"><strong>{{ i18n "download_releaseNote"}}</strong><a href="{{.Params.releaseNote}}" target="_blank">Link</a></div>
{{ end }}
<div class="titleLine1"><strong>{{ i18n "download_getiso"}}</strong><a href="{{.Params.ISOUrl}}" target="_blank">Link</a></div>
{{ if .Params.installationGuide}}
<div class="titleLine1"><strong>{{ i18n "download_installationGuide"}}</strong><a href="{{.Params.installationGuide}}" target="_blank">Link</a></div>
{{ end }}
<div class="titleLine1"><strong>{{ i18n "download_issues"}}</strong><a href="https://gitee.com/openeuler/community-issue" target="_blank">Link</a></div>
</div>
</div>
</div>
<!-- /.col-md-9 -->
{{ end }}
{{ end }}
{{ end }}
</div>
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
......
......@@ -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;
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册