From 49e7530ed3c7bd97cc59f03530d0f6b13bb8ecd3 Mon Sep 17 00:00:00 2001 From: ppoffice Date: Sun, 3 May 2020 01:56:50 -0400 Subject: [PATCH] chore(doc): update en share buttons doc --- source/_posts/en/Search-Plugins.md | 16 +- source/_posts/en/Share-Buttons.md | 209 +++++++++++------- .../screenshots/addthis-customize-share.png | Bin 0 -> 83452 bytes .../gallery/screenshots/addthis-get-code.png | Bin 0 -> 193231 bytes .../screenshots/addthis-select-tool-type.png | Bin 0 -> 77101 bytes .../screenshots/addthis-select-tool.png | Bin 0 -> 76857 bytes .../gallery/screenshots/addtoany-get-code.png | Bin 0 -> 115938 bytes .../screenshots/addtoany-select-platform.png | Bin 0 -> 162186 bytes .../sharethis-choose-button-type.png | Bin 0 -> 113357 bytes .../screenshots/sharethis-choose-platform.png | Bin 0 -> 111391 bytes .../screenshots/sharethis-get-code.png | Bin 0 -> 94613 bytes 11 files changed, 139 insertions(+), 86 deletions(-) create mode 100644 source/gallery/screenshots/addthis-customize-share.png create mode 100644 source/gallery/screenshots/addthis-get-code.png create mode 100644 source/gallery/screenshots/addthis-select-tool-type.png create mode 100644 source/gallery/screenshots/addthis-select-tool.png create mode 100644 source/gallery/screenshots/addtoany-get-code.png create mode 100644 source/gallery/screenshots/addtoany-select-platform.png create mode 100644 source/gallery/screenshots/sharethis-choose-button-type.png create mode 100644 source/gallery/screenshots/sharethis-choose-platform.png create mode 100644 source/gallery/screenshots/sharethis-get-code.png diff --git a/source/_posts/en/Search-Plugins.md b/source/_posts/en/Search-Plugins.md index 6c1c0fc..33a1e30 100644 --- a/source/_posts/en/Search-Plugins.md +++ b/source/_posts/en/Search-Plugins.md @@ -31,8 +31,7 @@ Please refer to it for a complete list of supported plugins and their configurat ## Algolia
-Installation Guide -Preview +Installation GuidePreview
1. Install the [hexo-algolia](https://github.com/oncletom/hexo-algolia) plugin under the root directory of your @@ -42,14 +41,14 @@ Please refer to it for a complete list of supported plugins and their configurat Click the "Create Index" button on the dashboard when you log in for the first time. Then, enter the name of the index and click the "Create" button to complete index creation. - {% img "box ml-auto mr-auto" /gallery/screenshots/algolia-create-index.png 360 '"Create Index - Algolia" "Create Index - Algolia"' %} + {% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/algolia-create-index.png 360 '"Create Index - Algolia" "Create Index - Algolia"' %}
3. Next, click "API Keys" on the left navigation bar, copy "Application ID" and "Search-Only API Key" on the page. Open site configuration file `_config.yml` under the root directory of your Hexo site and fill in the above information to the hexo-algolia plugin configurations. - {% img "box ml-auto mr-auto" /gallery/screenshots/algolia-api-keys.png 360 '"API Keys - Algolia" "API Keys - Algolia"' %} + {% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/algolia-api-keys.png 360 '"API Keys - Algolia" "API Keys - Algolia"' %}
For example, the following Aloglia index information: @@ -76,7 +75,7 @@ Please refer to it for a complete list of supported plugins and their configurat Click the "Create" button to finish key creation. Copy the API key you just created, e.g., `727fbd8c998fe419318fa350db6793ca`. - {% img "box ml-auto mr-auto" /gallery/screenshots/algolia-create-api-key.png 360 '"Create API Key - Algolia" "Create API Key - Algolia"' %} + {% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/algolia-create-api-key.png 360 '"Create API Key - Algolia" "Create API Key - Algolia"' %}
5. Open a Windows Command Prompt (CMD) or Linux/macOS terminal and change the working directory to the root @@ -128,8 +127,7 @@ Please refer to it for a complete list of supported plugins and their configurat ## Google Custom Search Engine (CSE)
-Installation Guide -Preview +Installation GuidePreview
1. Log into your Google account and visit [Google CSE](https://cse.google.com/cse/create/new) to create a CSE. @@ -138,13 +136,13 @@ Please refer to it for a complete list of supported plugins and their configurat Then, fill in the "Name of the search engine". Click the "Create" button to finish engine creation. - {% img "box ml-auto mr-auto" /gallery/screenshots/google-cse-create.png 360 '"Create Custom Search - Google CSE" "Create Custom Search - Google CSE"' %} + {% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/google-cse-create.png 360 '"Create Custom Search - Google CSE" "Create Custom Search - Google CSE"' %}
2. Then, click the "Get code" button on the right side of "Add it to your site". Copy the value of `cx` to the search settings in your theme's configuration file. - {% img "box ml-auto mr-auto" /gallery/screenshots/google-cse-code.png 360 '"Get Code - Google CSE" "Get Code - Google CSE"' %} + {% img "box px-0 py-0 ml-auto mr-auto" /gallery/screenshots/google-cse-code.png 360 '"Get Code - Google CSE" "Get Code - Google CSE"' %}
For example, the following HTML code: diff --git a/source/_posts/en/Share-Buttons.md b/source/_posts/en/Share-Buttons.md index b8abef6..a6cdb37 100644 --- a/source/_posts/en/Share-Buttons.md +++ b/source/_posts/en/Share-Buttons.md @@ -12,53 +12,68 @@ share: install_url: //s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5e8fc96750876c7d --- -
-This article is also available in: 简体中文. -
- This article covers some share buttons supported by Icarus 3. +
+
+This article is also available in +简体中文. +
+
+ - -