提交 51808adc 编写于 作者: T TommyLike

Support read download markdown files

上级 647f77d6
public
resources
resources/_gen
.idea
......@@ -472,3 +472,9 @@ paginate = 10
[languages.zh]
languageCode = "zh-cn"
contentDir = "content/zh"
[taxonomies]
category = "categories"
tag = "tags"
version = "versions"
+++
title = "release_v1.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v1.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v1.0.0"]
+++
# openEuler v1.0.0(以下内容翻译)
What's New?
1. v1.0.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
+++
title = "release_v4.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v4.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v4.0.0"]
+++
# openEuler v0.4.0
What's New?
1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
+++
title = "release_v5.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v5.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v5.0.0"]
+++
# openEuler v0.5.0
What's New?
1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
+++
title = "下载"
id = "download"
title = "release_v1.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v1.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v1.0.0"]
+++
# openEuler v1.0.0(以下内容翻译)
......@@ -14,14 +17,3 @@ What's New?
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
# openEuler v0.4.0
What's New?
1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
+++
title = "Download"
id = "download"
title = "release_v4.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v4.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v4.0.0"]
+++
# openEuler v1.0.0
What's New?
1. v1.0.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
# openEuler v0.4.0
What's New?
......@@ -24,4 +15,4 @@ What's New?
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
\ No newline at end of file
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
+++
title = "release_v5.0.0"
lastModified = "2019/09/02 18:09:56"
imageUrl = "https://openeuler-release.obs.cn-south-1.myhuaweicloud.com:443/openeuler/release_v5.0.0.img"
remark = "THIS METADATA IS AUTOGENERATED FOR TRACKING, PLEASE DON'T UPDATE IT MANUALLY."
versions = ["v5.0.0"]
+++
# openEuler v0.5.0
What's New?
1. v0.4.0 provides service mesh capabilities on the edge. Pod-to-pod communication on the same edge node or across edge nodes in the same subnet is supported.
2. This feature enables edged to communicate with a CRI-compliant runtime to manage containers running on resource constrained edge nodes. Support for containerd is tested.
3. Modbus Mapper to connect and control devices that use Modbus(RTU/TCP) as a communication protocol.
4. Edge-controller which connects to Kubernetes api-server and sync node/pod status between edge and kubernetes api-server.
......@@ -69,3 +69,9 @@
- id: publishedOn
translation: "on"
- id: downloadImage
translation: "Download Image"
- id: versionsTitle
translation: "Versions"
......@@ -69,3 +69,9 @@
- id: publishedOn
translation: "在"
- id: downloadImage
translation: "下载镜像"
- id: versionsTitle
translation: "版本"
\ No newline at end of file
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
{{ partial "head.html" . }}
<body>
<div id="all">
<header>
{{ partial "nav.html" . }}
</header>
{{ partial "breadcrumbs.html" . }}
<div id="content">
<div class="container">
<div class="row">
<!-- *** LEFT COLUMN *** -->
<div class="col-md-9" id="blog-listing-medium">
{{ $paginator := .Paginate (where .Data.Pages "Type" "download") }}
{{ range $paginator.Pages }}
<section class="post" style="margin-bottom: 10px;">
<div class="row">
<div class="col-md-12">
<p class="intro">{{ .Content }}</p>
<p class="read-more"><a href="{{ .Params.imageUrl }}" class="btn btn-template-main">{{ i18n "downloadImage" }}</a>
</p>
</div>
</div>
<hr style="margin-top: 5px; margin-bottom: 5px">
</section>
{{ end }}
<ul class="pager">
{{ if .Paginator.HasPrev }}
<li class="previous"><a href="{{ .Site.BaseURL }}{{ .Paginator.Prev.URL }}">&larr; {{ i18n "newer" }}</a></li>
{{ else }}
<li class="previous disabled"><a href="#">&larr; {{ i18n "newer" }}</a></li>
{{ end }}
{{ if .Paginator.HasNext }}
<li class="next"><a href="{{ .Site.BaseURL }}{{ .Paginator.Next.URL }}">{{ i18n "older" }} &rarr;</a></li>
{{ else }}
<li class="next disabled"><a href="#">{{ i18n "older" }} &rarr;</a></li>
{{ end }}
</ul>
</div>
<!-- /.col-md-9 -->
<!-- *** LEFT COLUMN END *** -->
<!-- *** RIGHT COLUMN ***
_________________________________________________________ -->
<div class="col-md-3">
<!-- *** MENUS AND WIDGETS *** -->
{{ partial "sidebar.html" (dict "context" . "downloadPage" "true") }}
<!-- *** MENUS AND FILTERS END *** -->
</div>
<!-- /.col-md-3 -->
<!-- *** RIGHT COLUMN END *** -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
</div>
<!-- /#content -->
{{ partial "footer.html" . }}
</div>
<!-- /#all -->
{{ partial "scripts.html" . }}
</body>
</html>
<div class="container" id="contact">
<div class="row">
<div class="col-md-8">
<section>
{{ .Content }}
<!-- {{ if isset .Site.Params "email" }}-->
<!-- <div class="heading">-->
<!-- <h3>{{ i18n "contactForm" }}</h3>-->
<!-- </div>-->
<!-- <div id="contact-message"></div>-->
<!-- <form {{ with .Site.Params.contact_form_ajax }}class="contact-form-ajax"{{ else }}{{ end }} method="post" action="https://formspree.io/{{ .Site.Params.email }}">-->
<!-- <div class="row">-->
<!-- <div class="col-sm-6">-->
<!-- <div class="form-group">-->
<!-- <label for="name">{{ i18n "contactName" }}</label>-->
<!-- <input type="text" class="form-control" name="name" id="name" required>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col-sm-6">-->
<!-- <div class="form-group">-->
<!-- <label for="email">{{ i18n "contactMail" }}</label>-->
<!-- <input type="text" class="form-control" name="email" id="email" required>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col-sm-12">-->
<!-- <div class="form-group">-->
<!-- <label for="message">{{ i18n "contactMessage" }}</label>-->
<!-- <textarea id="message" class="form-control" name="message" required></textarea>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="col-sm-12 text-center">-->
<!-- <button type="submit" class="btn btn-template-main"><i class="fa fa-envelope-o"></i>{{ i18n "contactSend" }}</button>-->
<!-- </div>-->
<!-- </div>-->
<!-- &lt;!&ndash; /.row &ndash;&gt;-->
<!-- </form>-->
<!-- {{ end }}-->
</section>
</div>
<div class="col-md-4">
<div class="search_v">
<li>
<h3>SEARCH</h3>
<div class="search_box">
<div class="input_box">
<input type="text" placeholder="Search">
</div>
<div class="icon">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 16 16">
<path d="M12.6,11.2C13.5,10,14,8.6,14,7c0-3.9-3.1-7-7-7S0,3.1,0,7s3.1,7,7,7c1.6,0,3-0.5,4.2-1.4l3.4,3.4l1.4-1.4
L12.6,11.2z M7,12c-2.8,0-5-2.2-5-5s2.2-5,5-5s5,2.2,5,5S9.8,12,7,12z" />
</svg>
</div>
</div>
</li>
<li>
<h3>CATEGORIES</h3>
<p>V1.0.0</p>
<p>V0.4.0</p>
<p>V0.3.0</p>
<p>V0.2.0</p>
<p>V0.1.0</p>
</li>
</div>
</div>
</div>
<!-- /.row -->
</div>
{{ partial "map.html" . }}
{{ partial "widgets/search.html" . }}
{{ if isset . "downloadPage" }}
{{ partial "widgets/search.html" .context }}
{{ partial "widgets/categories.html" . }}
{{ partial "widgets/versions.html" .context }}
{{ else }}
{{ partial "widgets/search.html" . }}
{{ partial "widgets/tags.html" . }}
{{ partial "widgets/categories.html" . }}
{{ partial "widgets/tags.html" . }}
{{ end }}
\ No newline at end of file
{{ if isset .Site.Taxonomies "versions" }}
{{ if not (eq (len .Site.Taxonomies.versions) 0) }}
<div class="panel panel-default sidebar-menu">
<div class="panel-heading">
<h3 class="panel-title">{{ i18n "versionsTitle" }}</h3>
</div>
<div class="panel-body">
<ul class="nav nav-pills nav-stacked">
{{ range $name, $items := .Site.Taxonomies.versions }}
<li><a href="{{ $.Site.BaseURL }}versions/{{ $name | urlize | lower }}">{{ $name }} ({{ len $items }})</a>
</li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
{{ end }}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册