diff --git a/.gitignore b/.gitignore
index 15b785ac043f011f2f634237147a0af446bf9753..7ae4a935957feb01333dd967d2473b7175e17df4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,3 @@
public
resources
resources/_gen
-.idea
diff --git a/config.toml b/config.toml
index 676e8182aa2be5de204870284566979d1c45e3ea..d221db045e3b474b7f449ec95d874d5317eebc52 100644
--- a/config.toml
+++ b/config.toml
@@ -131,6 +131,18 @@ paginate = 10
tags = true
search = true
+[params.cards]
+ 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
diff --git a/content/events/linked-post.md b/content/events/linked-post.md
new file mode 100644
index 0000000000000000000000000000000000000000..f2793d1b398ccf7f671c59f36168630ea7a109d4
--- /dev/null
+++ b/content/events/linked-post.md
@@ -0,0 +1,19 @@
++++
+title = "Linked post"
+date = "2015-10-02T21:49:20+02:00"
+tags = ["golang", "programming", "theme", "hugo"]
+categories = ["programming"]
+banner = "img/banners/banner-4.jpg"
+author = "John Doe"
++++
+
+I'm a linked post in the menu. You can add other posts by adding the following line to the frontmatter:
+
+ menu = "main"
+
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. In mauris nulla, vestibulum vel auctor sed, posuere eu lorem. Aliquam consequat augue ut accumsan mollis. Suspendisse malesuada sodales tincidunt. Vivamus sed erat ac augue bibendum porta sed id ipsum. Ut mollis mauris eget ligula sagittis cursus. Aliquam id pharetra tellus. Pellentesque sed tempus risus. Proin id hendrerit ante. Vestibulum vitae urna ut mauris ultricies dignissim. Ut ante turpis, tristique vitae sagittis quis, sagittis nec diam. Fusce pulvinar cursus porta. Vivamus maximus leo dolor, ut pellentesque lorem fringilla nec. Mauris faucibus turpis posuere sapien euismod, a ullamcorper mi maximus.
+
+Morbi varius ex vel justo dictum placerat. Sed ac arcu pretium, varius elit eget, gravida purus. Fusce sit amet massa mollis eros tincidunt sollicitudin. Suspendisse iaculis cursus mauris ut sagittis. Interdum et malesuada fames ac ante ipsum primis in faucibus. Maecenas elit ligula, molestie quis magna eu, semper posuere lorem. Mauris a justo pharetra, congue ex eget, tincidunt massa. Maecenas sit amet neque lorem.
+
+Curabitur at elementum quam. Curabitur tristique elit non sapien aliquam vulputate. Vivamus in odio tincidunt, tempor sem quis, tincidunt lacus. Mauris pulvinar nunc sed tempus dictum. Nam vel arcu quis mi fermentum ullamcorper non ac lacus. Donec aliquet vitae ante at imperdiet. Aenean scelerisque venenatis urna, eget elementum risus convallis ac. Nullam gravida arcu lacus, non consectetur augue pretium non. Duis dignissim eros id urna pretium congue. Nullam eu magna in sem sollicitudin tempor. Pellentesque vel convallis ligula. Quisque semper, turpis a rhoncus efficitur, magna nibh iaculis elit, eget tempor dolor eros ut mi. Maecenas eu placerat lacus. Praesent congue pretium nulla, sed suscipit metus rutrum vel.
diff --git a/data/cards/1.yaml b/data/cards/1.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..718cd8037961b21cf750758c41565377350a1f58
--- /dev/null
+++ b/data/cards/1.yaml
@@ -0,0 +1,3 @@
+image: img/1.svg
+title: Contribution
+description: Easy to use operating system for laptop and desktop computers
diff --git a/data/cards/2.yaml b/data/cards/2.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..704ad8a8a5e34609e7328d341214a040c0623f54
--- /dev/null
+++ b/data/cards/2.yaml
@@ -0,0 +1,3 @@
+image: img/2.svg
+title: Get Start
+description: We puts you in control of all your infrastructure and services
diff --git a/data/cards/3.yaml b/data/cards/3.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..d4f3522b8728b947ca56bbdbb0253552d65d1e77
--- /dev/null
+++ b/data/cards/3.yaml
@@ -0,0 +1,3 @@
+image: img/3.svg
+title: Cooperation
+description: We provides a trusted open source platform as a strong foundation
diff --git a/data/cards/4.yaml b/data/cards/4.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..3f52a1483272424d9793fb180a8dabb54bc665f0
--- /dev/null
+++ b/data/cards/4.yaml
@@ -0,0 +1,3 @@
+image: img/4.svg
+title: Application Development
+description: We are always free for anyone to use, modify and development
diff --git a/data/emails/1.yaml b/data/emails/1.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..72f9d6b18f7ae06b657debf5ed370c2c13538296
--- /dev/null
+++ b/data/emails/1.yaml
@@ -0,0 +1,3 @@
+emailaddress: "development@huawei.com"
+description: "Developers discuss the mailboxes used"
+buttontext: "Subscription"
diff --git a/data/emails/2.yaml b/data/emails/2.yaml
new file mode 100644
index 0000000000000000000000000000000000000000..c7fd1eca79acf24bcd670e2d61fda99cc5f7ba13
--- /dev/null
+++ b/data/emails/2.yaml
@@ -0,0 +1,3 @@
+emailaddress: "user@huawei.com"
+description: "Users discuss the mailboxes used"
+buttontext: "Subscription"
diff --git a/themes/project/layouts/index.html b/themes/project/layouts/index.html
index fac2cb56c6c098664397749f4754d02967ac2be3..ff645598e1f3317aa0c73774ca7456717c16e9d6 100644
--- a/themes/project/layouts/index.html
+++ b/themes/project/layouts/index.html
@@ -15,15 +15,13 @@
- {{ partial "carousel.html" . }}
+ {{ partial "cards.html" . }}
+
+ {{ partial "reason.html" . }}
- {{ partial "features.html" . }}
+ {{ partial "emails.html" . }}
- {{ partial "testimonials.html" . }}
-
- {{ partial "see_more.html" . }}
-
- {{ partial "recent_posts.html" . }}
+ {{ partial "action.html" . }}
{{ partial "clients.html" . }}
diff --git a/themes/project/layouts/partials/action.html b/themes/project/layouts/partials/action.html
new file mode 100644
index 0000000000000000000000000000000000000000..8cc3b37b0e65813131311be80798bb3366eb0e3d
--- /dev/null
+++ b/themes/project/layouts/partials/action.html
@@ -0,0 +1,6 @@
+
\ No newline at end of file
diff --git a/themes/project/layouts/partials/cards.html b/themes/project/layouts/partials/cards.html
new file mode 100644
index 0000000000000000000000000000000000000000..065042f0930fbe6fafa1100120edcbd1fe6482d8
--- /dev/null
+++ b/themes/project/layouts/partials/cards.html
@@ -0,0 +1,27 @@
+{{ if isset .Site.Params "cards" }}
+{{ if .Site.Params.cards.enable }}
+{{ if gt (len .Site.Data.cards) 0 }}
+
+
+
+
Welcome to openEulerOS
+
The openEulerOS Project is a community-driven free software effort focused on delivering a robust
+ open source ecosystem.
+
+
+
+ {{ range .Site.Data.cards }}
+
+
+
{{ .title }}
+
{{ .description }}
+
+ {{ end }}
+
+
+
+
+
+{{ end }}
+{{ end }}
+{{ end }}
diff --git a/themes/project/layouts/partials/emails.html b/themes/project/layouts/partials/emails.html
new file mode 100644
index 0000000000000000000000000000000000000000..59ded8eb2dbcfe504554d01f84973ae84e485d99
--- /dev/null
+++ b/themes/project/layouts/partials/emails.html
@@ -0,0 +1,25 @@
+{{ if isset .Site.Params "emails" }}
+{{ if .Site.Params.emails.enable }}
+{{ if gt (len .Site.Data.emails) 0 }}
+
+
+
E-mail Subscription
+
+ {{ range .Site.Data.emails }}
+
+
+
{{ .emailaddress }}
+
{{ .description }}
+
+
+ {{ .buttontext }}
+
+
+ {{ end }}
+
+
+
+
+{{ end }}
+{{ end }}
+{{ end }}
diff --git a/themes/project/layouts/partials/events.html b/themes/project/layouts/partials/events.html
new file mode 100644
index 0000000000000000000000000000000000000000..37c7b90c1411004fc371f230d4f2c194119feff4
--- /dev/null
+++ b/themes/project/layouts/partials/events.html
@@ -0,0 +1,24 @@
+{{ if isset .Site.Params "events" }}
+{{ if .Site.Params.events.enable }}
+
+
+ Upcoming Events
+
more >
+
+
+
+ {{ $posts := .Paginate (where .Data.Pages "Type" "events") }}
+ {{ range first 4 $posts.Pages }}
+
+
+
+{{ end }}
+{{ end }}
diff --git a/themes/project/layouts/partials/reason.html b/themes/project/layouts/partials/reason.html
new file mode 100644
index 0000000000000000000000000000000000000000..ca01e1aa8d51322ba60ab4fa969858abf27e85a6
--- /dev/null
+++ b/themes/project/layouts/partials/reason.html
@@ -0,0 +1,15 @@
+
+
Why openEulerOS
+
+
+
OpenEuler
+
An innovative, free, and open source platform
+
+
+
For users, we offer a consistent manageable platform that suits a wide variety of deployments.
+
+
For open source communities, we offer a solid, predictable base to build upon, along with
+ extensive resources to build, test, release, and maintain their code.