hexo-theme-icarus/source/_posts/Getting-Started.md

2.8 KiB

title: Getting Started with Icarus date: 2018-10-22 19:23:59 thumbnail: /gallery/desert.jpg tags:

  • Getting Started

A simple, delicate, and modern theme for the static site generator Hexo. Its versatile layout configuration allows you to set up a single or multiple-column (up to three column) blog easily. Additionally, it offers plentiful plugins and pluggable widgets so that you can enable the features you want in no time. And with the all-new API designing, Icarus makes the development of this theme painless for developers and users.

To get started with Icarus, download and unzip the GitHub repository to your Hexo blog's theme directory or run the following command from your blog's root directory:

git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus

You can also specify a version for Icarus after downloading the theme through git. Replace the version code in the following command and execute:

git checkout 2.0.0

Furthermore, you can install Icarus as a git submodule by calling the following command:

git submodule add https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus

Next, replace the theme setting in your blog's _config.yml file:

theme: icarus

Finally, use the following command to start the Hexo local server and begin composing!

hexo s

Don't forget to check out the Getting Started series to help you master the Icarus quickly! Also, you can switch the site branch in the Icarus repository if you need further examples about installation and configuration.

Chandler Chen