惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

L
LangChain Blog
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
月光博客
月光博客
S
SegmentFault 最新的问题
量子位
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 司徒正美
博客园 - Franky
Google DeepMind News
Google DeepMind News
Recent Announcements
Recent Announcements
B
Blog RSS Feed
C
Check Point Blog
The Cloudflare Blog
M
MIT News - Artificial intelligence
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
F
Fortinet All Blogs
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
V
Visual Studio Blog
V
V2EX
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

Icarus

Icarus User Guide - Configuring the Theme FAQ Cyberpunk Theme Variant Upgrade Guide Custom Hexo Tag Helpers 自定义Hexo标签插件 Hexo Built-in Tag Helpers Icarus User Guide - CDN Providers Icarus User Guide - Comment Plugins Icarus User Guide - Donation Buttons Icarus User Guide - Other Plugins Icarus User Guide - Share Buttons Icarus User Guide - Search Plugin Icarus User Guide - Web Analytics Plugins Icarus User Guide - Widgets Icarus快速上手 Icarus用户指南 - 主题配置 常见问题 升级指南
Getting Started with Icarus
PPOffice · 2020-04-01 · via Icarus

Welcome to the Icarus documentation site! Icarus is a simple, delicate, and modern theme for the static site generator Hexo. It strives to be elegant in design while simple and straightforward to use. Its versatile and flexible configuration system enables power users lay out their sites to the finest details. Icarus also offers a wide range of plugins and widgets to meet your various customization and optimization needs. Moreover, its refreshed implementation enables better IDE support and third-party integration, which open to a sea of improvement possibilities.

Before you continue to the installation of Icarus, take some time to review the Hexo documentation. To install Icarus, take one of the following approaches:

  • Install from source
  • Install via NPM

Download the source code tarball from the GitHub and extract it to your Hexo site’s theme directory. Alternatively, you can use Git to clone the Icarus repository to the themes directory:

Git Bash/Shell
1
git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus -b <version number> --depth 1

You can omit -b <version number> to get the latest development version of Icarus. Leave --depth 1 out if you want to download full Git commit history of Icarus as well. Furthermore, you can install Icarus as a Git submodule with the following command:

Git Bash/Shell
1
git submodule add https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus

To install Icarus as a node package via NPM, run the following command from the root of your Hexo site:

Shell
1
npm install -S hexo-theme-icarus hexo-renderer-inferno

Next, activate Icarus in your site’s _config.yml file:

_config.yml
1
theme: icarus

or use the hexo command to change the theme to Icarus:

Shell
1
hexo config theme icarus

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

Shell
1
hexo server

To learn more about the theme, widgets, and plugins, check out the Icarus User Guide. You can also refer to the source code of this site for more examples. It is in the site branch of the Icarus repository on GitHub. Additionally, you may find help from other Icarus users on GitHub Discussions.

Additional Resources

Here are some other resources that you may find useful to further customize your site. You can also submit your Icarus tutorial through this link.


Something wrong with this article? Click here to submit your revision.

Vector Landscape Vectors by Vecteezy