Solution_of_already_exists_in_the_index

Read more →

Install_hugo

Install Hugo 按照官方文档操作即可,不再赘述。 https://gohugo.io/getting-started/quick-start/ brew install hugo hugo version hugo new site blog cd blog git init # 主题,该主题需要额外设置,否则不能正常工作。具体请参见 https://github.com/panr/hugo-theme-terminal/ git submodule add https://github.com/panr/hugo-theme-terminal.git themes/terminal echo ‘theme = "terminal"’ >> config.toml # 新建文章 hugo new posts/install_hugo.md # 启动服务,访问 http://localhost:1313 即可 hugo server -D Deploy to GitHub Page 参考 https://segmentfault.com/a/1190000012975914 需注意,配置项中有一处错误,正确的如下 script: hugo 备用参考: https://axdlog.com/zh/2018/using-hugo-and-travis-ci-to-deploy-blog-to-github-pages-automatically/ Add travis-ci badge 获取链接,将其写入 readme 即可。获取方法如下: Use private repository of github travis-ci 需要在网站 https://travis-ci.
Read more →