2. Edit your blog's `_config.yml`, change the `theme` field to `icarus` to enable this theme:
3. Rename `_config.yml.example` in the theme folder to `_config.yml`.
4. (Optional) Don't forget to checkout the latest version once in a while:
$ cd themes/icarus
$ git pull
5. (Optional) To enable [Insight Search](https://github.com/ppoffice/hexo-theme-icarus/wiki/Search#insight-search) as your default search engine, you should also install `hexo-generator-json-content` from npm.
[Justified Gallery](https://sachinchoolur.github.io/lightgallery.js/) is a JQuery plugin that allows you to create an high quality justified gallery of images. Set `true` to the configuration and wrap your images with `<div class="justified-gallery"></div>` will enable Justified Gallery.
Menus give you direct access to the archive, categories, custom pages, etc. You can create a menu simply by adding menu name and link address to the `menu` configuration section:
+ GitHub: https://github.com
> You can use both absolute addresses and relative addresses.
If you want enable the `Categories` and `Tags` for your blog, please copy `_source/categories` and `_source/tags` folder to `sources` folder under your site's root folder, and then add menu to your `_config.yml`.
+ Categories: categories
+ Tags: tags
Customize configurations control the general appearance of your theme.
You can replace the default logo with custom images. The `width` and `height` options define the size of the logo(in pixels), and `url` is the logo image file address. You can also hide the logo using `enabled: false`
> Don't add units to `width` and `height`, these options only support pure numbers.
> Please reserve `width`, `height` and `url` settings even when `enabled` is false.
Icarus supports more than 60 code highlight themes imported from [Highlight.js](https://github.com/isagalaev/highlight.js). You can go to `icarus/source/css/_highlight` folder to see available options.
- highlight: androidstudio
+ highlight: tomorrow
Change position of the sidebar. Available options are `left` and `right`.
Whether to enable thumbnail feature for each post. Available options are `true` and `false`.
#### How to add a thumbnail to a post?
You can set your own thumbnail image by adding `banner` or `thumbnail` option in your post's [front-matter](https://hexo.io/docs/front-matter.html):
Show social links at the bottom of your profile bar. Add link name and link address in the `social_links` configuration and an [FontAwesome](http://fontawesome.io/) icon will be picked for you. Available social link options are listed [here](http://fontawesome.io/icons/#brand).