安装主题
安装主题选择经过昨天晚上(现在貌似已经是前天了)的折腾,我的第一个基于Hexo的博客终于成功的上线了!但是人总要有一些个性化的需求,于是主题的安装配置就提上日程了。我原来一直有使用Typecho上使用大神移植的Typecho-Butterfly主题,于是立刻开始部署Butterfly。 动手安装使用主题十分简单,只要会使用git,几乎可以在1分钟以内完成,以下是详细步骤: 安装只要在你的Hexo根目录里运行以下命令就好: 1git clone -b master https://github.com/jerryc127/hexo-theme-butterfly.git themes/butterfly 同时为了你还需要安装一下 pug 以及 stylus 的渲染器: 1npm install hexo-renderer-pug hexo-renderer-stylus --save 如果后续需要升级,只需要在主题页面 git pull 即可。 使用主题使用主题首先要修改Hexo根目录下的 _config.yml文件,把theme改成 butterfly 1theme:...
初见hexo
...
Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment