/images/avatar.png

自定义 github pages 域名

添加 A 记录 在域名服务商处,添加四条 A 记录: 1 2 3 4 185.199.108.153 185.199.109.153 185.199.110.153 185.199.111.153 查看是否解析成功(EXAMPLE.COM 替换为自己的域名) 1 dig EXAMPLE.COM +noall +answer 成功的话,会有

install hugo

按照官方文档操作即可,不再赘述。 https://gohugo.io/getting-started/quick-start/ 1 2 3 4 5 6 7 8 9 10 11 12 brew install hugo hugo version hugo new site blog cd blog git init git submodule add https://github.com/panr/hugo-theme-terminal.git themes/terminal echo 'theme = "terminal"' >> config.toml hugo new posts/install_hugo.md hugo server -D Deploy to GitHub Page 参考 https://segmentfault.com/a/1190000012975914 需注意,