Hexo更新出了问题,就折腾到了Hugo。

安装

Homebrew安装

1
$ brew install hugo

检查版本

1
$ hugo version

建立项目站点

1
$ hugo new site /Users/xxxx/Documents/Hugo  

添加主题

安装even主题

1
2
$ cd Documents/Hugo 
$ git clone https://github.com/olOwOlo/hugo-theme-even themes/even

主题配置 将themes/even/exampleSite 目录下的 config.toml 文件复制到Hugo下,替换原文件,然后根据需求更改。 注意使用post例如: