使用Hugo和Netlify建立静态博客,并托管在Github上
使用Hugo建立静态博客 sudo apt install hugo hugo new site blog cd blog/ git submodule add https://github.com/budparr/gohugo-theme-ananke.git themes/ananke git submodule add https://github.com/olOwOlo/hugo-theme-even themes/even echo ’theme = “ananke”’ » config.toml echo ’theme = “even”’ » config.toml hugo new post/my-first-post.md 注意:直接这样生成的页面头,是带有 draft: true 标记的,