+
+This article covers some widgets supported by Icarus 3.
+If you need to display multiple widgets at once, simply add individual widget configuration
+to the `widgets` array.
+They will appear in the order of their definition.
+The `type` and `position` settings are required for every widget.
+Here is an example:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ type: ... # 挂件1
+ position: left
+ ...
+ -
+ type: ... # 挂件2
+ position: right
+ ...
+{% endcodeblock %}
+
+
+
+
+
+Most of the widgets of Icarus are provided by
+[ppoffice/hexo-component-inferno](https://github.com/ppoffice/hexo-component-inferno).
+Please refer to it for a complete list of supported widgets and configuration details.
+
+
+
+
+## Profile
+
+You can showcase the post author/site admin information via the profile widget.
+Its configuration is list below:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: right
+ type: profile
+ # Author name
+ author: hulatocat
+ # Title of the author
+ author_title: A GitHub Octocat
+ # Author location/organization
+ location: GitHub Inc.
+ # URL of the avatar/profile picture
+ avatar: https://octodex.github.com/images/hula_loop_octodex03.gif
+ # Whether to show a round clip of the avatar
+ avatar_rounded: false
+ # The email address of the Gravatar service(if the `avatar` is not set)
+ gravatar:
+ # The follow link URL
+ follow_link: 'https://octodex.github.com/hulatocat'
+ # Social media link URLs
+ social_links:
+ Github:
+ icon: fab fa-github
+ url: 'https://github.com/'
+ Icarus: 'https://github.com/ppoffice/hexo-theme-icarus'
+{% endcodeblock %}
+
+Some notes on the configuration:
+
+- If you wish to use [Gravatar](https://en.gravatar.com/) instead of the `avatar` setting as profile picture,
+ you can fill in the Gravatar email address in `gravatar` and leave `avatar` empty;
+
+- There two possible formats for `social_links`:
+
+ **Icon**:
+
+ {% codeblock social_links lang:yaml %}
+ :
+ icon:
+ url:
+ {% endcodeblock %}
+
+ **Text**:
+
+ {% codeblock social_links lang:yaml %}
+ :
+ {% endcodeblock %}
+
+
+## Table of Contents
+
+To show the table of contents of the current post, please add the following widget configuration to your theme's
+configuration file:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ type: toc
+ position: left
+{% endcodeblock %}
+
+Then, add `toc: true` to the front-matter of the post you wish to display the widget:
+
+{% codeblock Post.md lang:yaml %}
+title: A post with the table of contents
+toc: true
+---
+Post content...
+{% endcodeblock %}
+
+
+## External Links
+
+You can display a list of external sites and links to them using the external links widget.
+An example of its configuration is listed below:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: left
+ type: links
+ # Name and URL of the external site
+ links:
+ Hexo: 'https://hexo.io'
+ Bulma: 'https://bulma.io'
+{% endcodeblock %}
+
+
+## Recent Posts
+
+Please use the following widget configuration to enable the recent posts widget:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: right
+ type: recent_posts
+{% endcodeblock %}
+
+
+## Archives
+
+Please use the following widget configuration to enable the archives widget:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: right
+ type: archives
+{% endcodeblock %}
+
+
+## Categories
+
+Please use the following widget configuration to enable the categories widget:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: right
+ type: categories
+{% endcodeblock %}
+
+
+## Tags
+
+Please use the following widget configuration to enable the tags widget:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: right
+ type: tags
+{% endcodeblock %}
+
+
+## Subscribe Email
+
+The email subscription feature of Icarus is provided by Google Feedburner.
+
+1. To turn on this widget, please generate the RSS feed of your Hexo site using some Hexo plugins like
+ [hexo-generator-feed](https://github.com/hexojs/hexo-generator-feed).
+
+2. Then, log into [Google Feedburner](https://feedburner.google.com) and add your RSS feed.
+ Click the "My Feeds" link on the top of the page when finished.
+ Click your newly added feed on the "My Feeds" page.
+
+3. Click the "Publicize" tab and then the "Email Subscription" link on the left side of the page.
+ Click the "Activate" button and find the following information in the HTML code on the "Email Subscription"
+ page:
+
+ {% codeblock Google Feedburner URL %}
+ https://feedburner.google.com/fb/a/mailverify?uri=******
+ {% endcodeblock %}
+
+ Copy the ID after `uri=` (e.g., `feedforall/ABCD`) to the `feedburner_id` setting in the widget configuration.
+
+ {% codeblock themes/icarus/_config.yml lang:yaml %}
+ widgets:
+ -
+ position: left
+ type: subscribe_email
+ # (Optional) One line of description text
+ description: Subscribe to get the lastest update!
+ feedburner_id: feedforall/ABCD
+ {% endcodeblock %}
+
+
+## Google AdSense
+
+Please log into [Google AdSense](https://www.google.com/adsense) and create a new AD.
+Then, copy the values of `data-ad-client` and `data-ad-slot` from the HTML code of the AD to
+the `client_id` and `slot_id` setting of the widget respectively.
+Here is an example:
+
+{% codeblock themes/icarus/_config.yml lang:yaml %}
+widgets:
+ -
+ position: left
+ type: adsense
+ client_id: ca-pub-xxxxxxxx
+ slot_id: xxxxxxx
+{% endcodeblock %}
+
+
+
+Something wrong with this article? Click here to submit your revision.
+
diff --git a/source/_posts/post/Table-of-Contents.md b/source/_posts/post/Table-of-Contents.md
deleted file mode 100644
index 9cb8cd7..0000000
--- a/source/_posts/post/Table-of-Contents.md
+++ /dev/null
@@ -1,71 +0,0 @@
-title: Table of Contents / Catalogue
-date: 2018-10-17 22:46:00
-categories:
-- Configuration
-- Posts
-toc: true
----
-To display a Table of Contents / Catalogue (toc) widget on a post page, please first add `toc: true` to the front-matter of your post Markdown file:
-{% codeblock lang:yaml post.md %}
-title: Table of Contents Example
-toc: true
----
-Post content...
-{% endcodeblock %}
-
-Then, add the `toc` widget to the theme's configuration file:
-
-{% codeblock lang:yaml _config.yml %}
-widgets:
- -
- type: toc
- position: left
-{% endcodeblock %}
-
-
-
-# First level title
-## Second level title
-### Third level title
-Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque rutrum faucibus tellus in lobortis. Etiam ultrices
-et risus at tempor. Aenean mollis in metus sed rutrum. Sed aliquet vel urna in luctus. Donec at sodales mauris. Donec
-sed metus fermentum, pellentesque velit ac, tincidunt augue. Integer mattis risus a finibus iaculis. Donec mattis,
-tellus a iaculis fringilla, ante quam rutrum urna, a mollis lorem lacus cursus risus. Pellentesque a quam in tellus
-tincidunt imperdiet. Etiam eget fringilla risus. Praesent mauris massa, aliquam non nibh et, commodo rutrum ligula. Duis
-fermentum gravida lectus at placerat. Suspendisse blandit rutrum lacus vel semper. Nulla magna ex, gravida quis ante
-sed, gravida ornare ipsum.
-
-[[TOP]](#toc)
-
-### Another third level title
-Pellentesque porta odio sed odio venenatis, non efficitur est scelerisque. Vivamus dignissim ac massa in feugiat. Donec
-auctor pulvinar arcu. Aenean auctor mi sed enim aliquam euismod. Vivamus eros arcu, faucibus non ullamcorper at,
-sagittis a turpis. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.
-Suspendisse potenti. Cras et viverra felis. Fusce ullamcorper ex a orci eleifend tempor. Cras lacinia efficitur viverra.
-Aenean lobortis placerat rhoncus. Praesent luctus pellentesque tristique. Cras convallis dignissim odio, sit amet
-sagittis purus euismod et.
-
-[[TOP]](#toc)
-
-## Another second level title
-Phasellus ipsum urna, laoreet venenatis augue eleifend, dignissim tempor sem. Donec consectetur magna vitae orci viverra,
-sit amet lacinia dolor sagittis. Pellentesque quis sagittis elit. Cras mattis velit ac lacus rutrum, quis luctus enim
-scelerisque. Vestibulum eu tincidunt felis, in molestie nunc. Donec condimentum ultrices erat, volutpat ultricies nisi.
-Pellentesque eu dui vitae augue congue accumsan. Proin eleifend tristique metus nec cursus.
-
-[[TOP]](#toc)
-
-# Another first level title
-Donec id erat in nulla condimentum commodo. Curabitur iaculis id ipsum a cursus. Vestibulum volutpat leo at dignissim
-semper. Fusce at ex nec ipsum vestibulum posuere. Phasellus pretium felis tellus, non commodo dui tristique eu. Donec
-iaculis posuere augue, ac condimentum purus feugiat sit amet. Etiam rutrum non mauris et pulvinar. Vestibulum ac nulla
-magna.
-
-[[TOP]](#toc)
-
-## Final title
-Suspendisse potenti. Fusce ullamcorper lacus vitae leo dignissim malesuada. Sed commodo efficitur fermentum. Maecenas
-mollis eget massa a tincidunt. Etiam non arcu lorem. In imperdiet venenatis ipsum, vitae venenatis magna tristique sit
-amet. Donec quis pulvinar orci, sagittis convallis nisi.
-
-[[TOP]](#toc)
\ No newline at end of file
diff --git a/source/_posts/widget/Links.md b/source/_posts/widget/Links.md
deleted file mode 100644
index 7997228..0000000
--- a/source/_posts/widget/Links.md
+++ /dev/null
@@ -1,19 +0,0 @@
-title: Links Sidebar Widget
-date: 2016-02-01
-categories:
-- Widgets
----
-
-You can show a list of links to other websites in the sidebar by enabling the links widget. Add the following configuration to the `widgets` section in your `_config.yml` file, and you are good to go:
-
-```yaml
--
- type: links
- position: left
- links:
- 'Website name': 'http://website/url'
- Hexo: 'https://hexo.io'
- PPOffice: 'https://github.com/ppoffice'
-```
-
-One thing you should note is that the links widget only takes a list of website name and URL, and the URL is displayed on the right side of the widget.
\ No newline at end of file
diff --git a/source/_posts/widget/Profile.md b/source/_posts/widget/Profile.md
deleted file mode 100644
index e771d97..0000000
--- a/source/_posts/widget/Profile.md
+++ /dev/null
@@ -1,48 +0,0 @@
-title: Profile Sidebar Widget
-date: 2018-10-20
-categories:
-- Widgets
-tags:
-- Getting Started
-thumbnail: /gallery/thumbnails/deer.jpg
-widgets:
- -
- type: profile
- position: right
- author: hulatocat
- author_title: A GitHub Octocat
- location: GitHub Inc.
- avatar: https://octodex.github.com/images/hula_loop_octodex03.gif
- gravatar:
- follow_link: https://octodex.github.com/hulatocat
- social_links:
- Github:
- icon: fab fa-github
- url: 'http://github.com/'
- Icarus:
- icon: fas fa-palette
- url: 'http://github.com/ppoffice/hexo-theme-icarus'
----
-
-Icarus offers a way to showcase yourself using the profile sidebar widget. To use this widget, add the following lines to the widgets section of your `_config.yml`:
-
-{% codeblock lang:yaml _config.yml %}
- -
- type: profile
- position: # show in left or right sidebar
- author: # your name
- author_title: # your title
- location: # where are you
- avatar: # path or url to your avatar image
- gravatar: # your gravatar email
- follow_link: # path or url to any page you want
- social_links: # add links to your social network here
-{% endcodeblock %}
-
-There are two things that you should note:
-
-- If you want to [Gravatar](https://en.gravatar.com/), fill in your email in the `gravatar` field. Otherwise, leave it blank in case it overrides the avatar setting.
-
-- The `social_links` field accepts an array of links which are either shown as a text link or icon link. The details are described in {% post_link theme/Polymorphic-Link-Settings %}.
-
-Joey Pilgrim
\ No newline at end of file
diff --git a/source/_posts/widget/Sidebar-Widgets-Overview.md b/source/_posts/widget/Sidebar-Widgets-Overview.md
deleted file mode 100644
index 54e4a39..0000000
--- a/source/_posts/widget/Sidebar-Widgets-Overview.md
+++ /dev/null
@@ -1,40 +0,0 @@
-title: Sidebar Widgets Overview
-date: 2016-02-02
-categories:
-- Widgets
----
-
-With the brand-new widget configuration scheme, you can place any widgets on either side of the page and set up them fair easily. Icarus reads the list of widgets that are enabled from `_config.yml` and displays them in the order they are defined. The following widgets are supported in Icarus 2.0.0:
-
-- Archives (archive)
-- Categories (category)
-- Links (links)
-- Profiles (profile)
-- Recent Posts (recent_posts)
-- Tags (tag)
-- Tag Cloud (tagcloud)
-- Table of Content / Catalogue (toc)
-
-
-The enabled widgets are defined as an array. Each widget has two mandatory fields in common: `type` and `position`. The `type` field specific what widget is enabled and can be one of the `(name)` above. The position can be either `left` or `right`, which tells on which side will the widget be placed.
-
-```yml
-widgets:
- -
- type: category
- position: left
- -
- type: tagcloud
- position: left
- -
- type: recent_posts
- position: right
- -
- type: archive
- position: right
- -
- type: tag
- position: right
-```
-
-Most of these widgets do not take any extra configurations. However, for those who do, please refer to the [documentation](/hexo-theme-icarus/categories/Widgets/).
\ No newline at end of file
diff --git a/source/_posts/zh-CN/Other-Plugins.md b/source/_posts/zh-CN/Other-Plugins.md
index c97bc50..dbdca32 100644
--- a/source/_posts/zh-CN/Other-Plugins.md
+++ b/source/_posts/zh-CN/Other-Plugins.md
@@ -77,6 +77,8 @@ plugins:
下面是Justified Gallery实现的多图片网格化展示。点击其中的任意可另外查看lightGallery的全图展示效果。
+> 下面的图片来源于pexel.com
+