From b3594f76691a5dbf62c07c4970894a70e46dafa6 Mon Sep 17 00:00:00 2001 From: wangpeiheng Date: Tue, 21 Apr 2020 09:48:25 +0800 Subject: [PATCH 1/2] The page link opens in a new page --- content/en/guidance/index_.md | 16 ++++++++-------- content/en/prepare/prepare.md | 8 ++++---- content/zh/guidance/index_.md | 16 ++++++++-------- content/zh/prepare/prepare.md | 8 ++++---- .../layouts/partials/footer.html | 1 - 5 files changed, 24 insertions(+), 25 deletions(-) diff --git a/content/en/guidance/index_.md b/content/en/guidance/index_.md index a3411168..5297f70e 100644 --- a/content/en/guidance/index_.md +++ b/content/en/guidance/index_.md @@ -6,18 +6,18 @@ title = "Guidance to Post a Blog" ## Preparation -1. Refer to to register Gitee account. +1. Refer to http: //git.mydoc.io/?t=179267 to register Gitee account. -2. Set your primary mail box in gitee settings . +2. Set your primary mail box in gitee settings https: //gitee.com/profile/emails. -3. Sign your CLA in . +3. Sign your CLA in https: //openeuler.org/zh/cla.html. -4. Prepare your git environment refering to . +4. Prepare your git environment refering to http: //git.mydoc.io/?t=180692. ## Understand blog format The openEuler blog is written in markdown format. -You can read to get understand how the blog is designed. +You can read https: //gitee.com/openeuler/blog/blob/master/design/content_posts.md to get understand how the blog is designed. The head includes the following information: ``` @@ -37,9 +37,9 @@ Tips: you can copy content/_example/2020-03-03-sample-post.md to your folder and ## Post your blog -The blog posting follows the pull request of [Gitee](gitee.com). +The blog posting follows the pull request of Gitee. -1. Fork openEuler blog project to your own gitee. Refer to for detailed guidance. +1. Fork openEuler blog project https: //gitee.com/openeuler/blog to your own gitee. Refer to http: //git.mydoc.io/?t=153749for detailed guidance. 2. Clone the code to your local environment. @@ -82,6 +82,6 @@ git commit -m "" git push origin : ``` -7. Refer to to submit your Pull Request +7. Refer to http: //git.mydoc.io/?t=153749to submit your Pull Request 8. Wait for reviewing and merging. diff --git a/content/en/prepare/prepare.md b/content/en/prepare/prepare.md index aa555a91..d9475d6d 100644 --- a/content/en/prepare/prepare.md +++ b/content/en/prepare/prepare.md @@ -1,5 +1,5 @@ -1. Please refer to the to register for Gitee account. -2. Set up your main mailbox in gitee(). -3. Sign your CLA in the . -4. Refer to the to prepare the git environment. +1. Please refer to the http://git.mydoc.io/?t=179267 to register for Gitee account. +2. Set up your main mailbox in gitee(http://gitee.com/profile/emails). +3. Sign your CLA in the https://opengauss.org/zh/cla.html. +4. Refer to the http://git.mydoc.io/?t=180692 to prepare the git environment. 5. Understand the blog format. \ No newline at end of file diff --git a/content/zh/guidance/index_.md b/content/zh/guidance/index_.md index a3411168..5297f70e 100644 --- a/content/zh/guidance/index_.md +++ b/content/zh/guidance/index_.md @@ -6,18 +6,18 @@ title = "Guidance to Post a Blog" ## Preparation -1. Refer to to register Gitee account. +1. Refer to http: //git.mydoc.io/?t=179267 to register Gitee account. -2. Set your primary mail box in gitee settings . +2. Set your primary mail box in gitee settings https: //gitee.com/profile/emails. -3. Sign your CLA in . +3. Sign your CLA in https: //openeuler.org/zh/cla.html. -4. Prepare your git environment refering to . +4. Prepare your git environment refering to http: //git.mydoc.io/?t=180692. ## Understand blog format The openEuler blog is written in markdown format. -You can read to get understand how the blog is designed. +You can read https: //gitee.com/openeuler/blog/blob/master/design/content_posts.md to get understand how the blog is designed. The head includes the following information: ``` @@ -37,9 +37,9 @@ Tips: you can copy content/_example/2020-03-03-sample-post.md to your folder and ## Post your blog -The blog posting follows the pull request of [Gitee](gitee.com). +The blog posting follows the pull request of Gitee. -1. Fork openEuler blog project to your own gitee. Refer to for detailed guidance. +1. Fork openEuler blog project https: //gitee.com/openeuler/blog to your own gitee. Refer to http: //git.mydoc.io/?t=153749for detailed guidance. 2. Clone the code to your local environment. @@ -82,6 +82,6 @@ git commit -m "" git push origin : ``` -7. Refer to to submit your Pull Request +7. Refer to http: //git.mydoc.io/?t=153749to submit your Pull Request 8. Wait for reviewing and merging. diff --git a/content/zh/prepare/prepare.md b/content/zh/prepare/prepare.md index e3e2e9f0..685020bc 100644 --- a/content/zh/prepare/prepare.md +++ b/content/zh/prepare/prepare.md @@ -1,5 +1,5 @@ -1. 请参阅来注册Gitee账户。 -2. 在gitee中()设置您的主邮箱。 -3. 在上签署您的CLA。 -4. 参考准备git环境。 +1. 请参阅http: //git.mydoc.io/?t=179267来注册Gitee账户。 +2. 在gitee中(http: //gitee.com/profile/emails)设置您的主邮箱。 +3. 在https: //opengauss.org/zh/cla.html上签署您的CLA。 +4. 参考http: //git.mydoc.io/?t=180692准备git环境。 5. 了解博客格式。 \ No newline at end of file diff --git a/themes/hugo-blog-jeffprod/layouts/partials/footer.html b/themes/hugo-blog-jeffprod/layouts/partials/footer.html index ab1ec62c..0765911d 100644 --- a/themes/hugo-blog-jeffprod/layouts/partials/footer.html +++ b/themes/hugo-blog-jeffprod/layouts/partials/footer.html @@ -6,7 +6,6 @@