Hexo配置通径其二

心情不好,换个Theme

先以现在正服役的这款ICARUS为砖:

  • 首先,将ICARUS克隆到blog/themes/icarus路径下:

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

  • 接着修改/blog下的_config.yml,钦定ICARUS为现役主题
1
2
3
4
# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: icarus
  • 最后将/blog/themes/icarus/下的_config.yml.example 命名为 _config.yml,命令行里敲下 $hexo server在本地审视一番吧。

源源不断流泻出的才华转换成一篇新的Blog

  • 先发个指令 $ hexo new '文章化的才华' 指定一下新文章的名称。Hexo会在/blog/source/_posts下生成对应的 文章化的才华.md 的markdown文件。
  • 把你准备好的md格式的文章搬进去,重新部署
    $ hexo generate && hexo deploy
    发布的流程于此优雅结束
Share Comments