From 501ebd3cd7b2d1cf6df0272893dc76434feebc88 Mon Sep 17 00:00:00 2001 From: edisonxiang Date: Fri, 6 Sep 2019 11:13:49 +0800 Subject: [PATCH] building for download --- config.toml | 4 +-- content/en/building/download.md | 6 +++++ content/zh/building/download.md | 6 +++++ themes/project/layouts/building/single.html | 30 +++++++++++++++++++++ themes/project/static/css/custom.css | 12 +++++++++ 5 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 content/en/building/download.md create mode 100644 content/zh/building/download.md create mode 100644 themes/project/layouts/building/single.html diff --git a/config.toml b/config.toml index e0fcc5d..5a7f9c9 100644 --- a/config.toml +++ b/config.toml @@ -132,7 +132,7 @@ paginate = 10 [[menu.main]] identifier = "download" name = "Download" - url = "/download.html" + url = "/building/download.html" weight = 6 @@ -255,7 +255,7 @@ paginate = 10 [[languages.zh.menu.main]] identifier = "download" name = "下载" - url = "/zh/download.html" + url = "/zh/building/download.html" weight = 6 diff --git a/content/en/building/download.md b/content/en/building/download.md new file mode 100644 index 0000000..6945af3 --- /dev/null +++ b/content/en/building/download.md @@ -0,0 +1,6 @@ ++++ +title = "Download" +id = "download" ++++ + +#### Download center being constructed diff --git a/content/zh/building/download.md b/content/zh/building/download.md new file mode 100644 index 0000000..ad48140 --- /dev/null +++ b/content/zh/building/download.md @@ -0,0 +1,6 @@ ++++ +title = "下载" +id = "download" ++++ + +#### 下载中心正在构建中 diff --git a/themes/project/layouts/building/single.html b/themes/project/layouts/building/single.html new file mode 100644 index 0000000..b06c429 --- /dev/null +++ b/themes/project/layouts/building/single.html @@ -0,0 +1,30 @@ + + +{{ partial "head.html" . }} + + +
+
+ {{ partial "nav.html" . }} +
+ {{ partial "breadcrumbs.html" . }} +
+
+
+
+

{{ .Content }}

+

+ + {{ i18n "404_homepage" }} + +

+
+
+
+
+ {{ partial "footer.html" . }} +
+ {{ partial "scripts.html" . }} + + + \ No newline at end of file diff --git a/themes/project/static/css/custom.css b/themes/project/static/css/custom.css index c17795b..f210a16 100644 --- a/themes/project/static/css/custom.css +++ b/themes/project/static/css/custom.css @@ -394,6 +394,18 @@ footer .notice span { margin-left: 10px; } +.container .building { + text-align: center; + margin-top: 100px; + margin-bottom: 200px; +} +.container .building h4 { + margin-bottom: 40px; +} +.container .building p.buttons { + margin-top: 40px; +} + html { min-width: 1280px; max-width: 1920px; -- GitLab