From 827c93f2a5ba8972d9c93b4087d3183cfe5f1c63 Mon Sep 17 00:00:00 2001 From: zhongjun2 Date: Sun, 7 Jun 2020 14:36:56 +0800 Subject: [PATCH] reset home header --- .../traffic_millions/2020-03-27-VirtualBox.md | 19 ------------------- i18n/en.toml | 5 ++++- i18n/zh.toml | 5 ++++- .../layouts/partials/detail-banner.html | 12 +++++++++--- 4 files changed, 17 insertions(+), 24 deletions(-) delete mode 100644 content/zh/post/traffic_millions/2020-03-27-VirtualBox.md diff --git a/content/zh/post/traffic_millions/2020-03-27-VirtualBox.md b/content/zh/post/traffic_millions/2020-03-27-VirtualBox.md deleted file mode 100644 index a44d2b89..00000000 --- a/content/zh/post/traffic_millions/2020-03-27-VirtualBox.md +++ /dev/null @@ -1,19 +0,0 @@ -+++ -title = "初试openGauss(二):windows下使用VirtualBox安装openGauss" -date = "2020-03-27" -tags = ["安装openGauss"] -archives = "2020-03" -author = "吴凡刚" -summary = "windows下使用VirtualBox安装openGauss虚拟机." -img = "/img/blog_01.png" -times = "2106" -+++ - -### 【背景】 -今天华为开发者大会上,openGauss开源社区发布了最新的LTS版本,手上只有一台windows机器,考虑使用VirtualBox安装openGauss虚拟机. - -### 【环境准备】 - -- Windows10 64位 -- Oracle VM VirtualBox 6.1.4 -- openGauss开源社区下载:[openGauss-20.03-LTS-x86_64-dvd.iso](https://repo.openGauss.org/openGauss-20.03-LTS/ISO/x86_64/openGauss-20.03-LTS-x86_64-dvd.iso) (X86) diff --git a/i18n/en.toml b/i18n/en.toml index d1e9c1d1..aed989ac 100644 --- a/i18n/en.toml +++ b/i18n/en.toml @@ -53,4 +53,7 @@ other = "The page is not found." other = "Back to Home" [404_homepage_url] -other = "https://test.opengauss.org/en/" \ No newline at end of file +other = "https://test.opengauss.org/en/" + +[blog_title] +other = "Blog" diff --git a/i18n/zh.toml b/i18n/zh.toml index 83e4b645..837160ab 100644 --- a/i18n/zh.toml +++ b/i18n/zh.toml @@ -53,4 +53,7 @@ other = "没有找到页面" other = "返回首页" [404_homepage_url] -other = "https://test.opengauss.org/zh/" \ No newline at end of file +other = "https://test.opengauss.org/zh/" + +[blog_title] +other = "博客" diff --git a/themes/hugo-blog-jeffprod/layouts/partials/detail-banner.html b/themes/hugo-blog-jeffprod/layouts/partials/detail-banner.html index ea12067c..c9230736 100644 --- a/themes/hugo-blog-jeffprod/layouts/partials/detail-banner.html +++ b/themes/hugo-blog-jeffprod/layouts/partials/detail-banner.html @@ -1,7 +1,13 @@ {{ if eq .Type "page" }} -
- {{ partial "prepare.html" . }} -
+
+
+
+

+ {{ i18n "blog_title" }} +

+
+
+
{{ else if .Title }}
-- Gitee