fix(doc): reorder some posts & reword code snippet
parent
4621b16d36
commit
9216a34ebb
|
@ -70,7 +70,7 @@ To install Icarus, take one of the following approaches:
|
||||||
To install Icarus as a node package via NPM, run the following command
|
To install Icarus as a node package via NPM, run the following command
|
||||||
from the root of your Hexo site:
|
from the root of your Hexo site:
|
||||||
|
|
||||||
{% codeblock "Git Bash/Shell" %}
|
{% codeblock "Shell" %}
|
||||||
npm install -S hexo-theme-icarus
|
npm install -S hexo-theme-icarus
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
title: Icarus用户指南 - 主题配置
|
title: Icarus用户指南 - 主题配置
|
||||||
date: 2016-01-03
|
date: 2016-01-04
|
||||||
categories:
|
categories:
|
||||||
- Configuration
|
- Configuration
|
||||||
tags:
|
tags:
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
title: Icarus快速上手
|
title: Icarus快速上手
|
||||||
date: 2016-01-04
|
date: 2016-01-05
|
||||||
tags:
|
tags:
|
||||||
- Getting Started
|
- Getting Started
|
||||||
- Icarus用户指南
|
- Icarus用户指南
|
||||||
|
@ -51,7 +51,7 @@ Icarus同时也提供了超多插件与挂件来满足你的多元的站点个
|
||||||
从GitHub的仓库中下载源码的压缩包并解压到你Hexo站点的主题目录中。
|
从GitHub的仓库中下载源码的压缩包并解压到你Hexo站点的主题目录中。
|
||||||
或者,你可以使用Git来克隆Icarus的代码仓库到`themes`目录下:
|
或者,你可以使用Git来克隆Icarus的代码仓库到`themes`目录下:
|
||||||
|
|
||||||
{% codeblock "Git Bash命令行" %}
|
{% codeblock "Git Bash/命令行" %}
|
||||||
git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus -b <version number> --depth 1
|
git clone https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus -b <version number> --depth 1
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ Icarus同时也提供了超多插件与挂件来满足你的多元的站点个
|
||||||
如果你想同时下载Git仓库的完整提交历史,请同时省略`--depth 1`。
|
如果你想同时下载Git仓库的完整提交历史,请同时省略`--depth 1`。
|
||||||
另外,你也可以使用下面的命令将Icarus安装为Git子模块(submodule):
|
另外,你也可以使用下面的命令将Icarus安装为Git子模块(submodule):
|
||||||
|
|
||||||
{% codeblock "Git Bash命令行" %}
|
{% codeblock "Git Bash/命令行" %}
|
||||||
git submodule add https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus
|
git submodule add https://github.com/ppoffice/hexo-theme-icarus.git themes/icarus
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
</div>
|
</div>
|
||||||
|
@ -69,7 +69,7 @@ Icarus同时也提供了超多插件与挂件来满足你的多元的站点个
|
||||||
|
|
||||||
若要使用NPM将Icarus安装为Node包,在你的Hexo站点根目录运行如下命令:
|
若要使用NPM将Icarus安装为Node包,在你的Hexo站点根目录运行如下命令:
|
||||||
|
|
||||||
{% codeblock "Git Bash/Shell" %}
|
{% codeblock "命令行" %}
|
||||||
npm install -S hexo-theme-icarus
|
npm install -S hexo-theme-icarus
|
||||||
{% endcodeblock %}
|
{% endcodeblock %}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue