hugo入门教程
The world’s fastest framework for building websites,
Hugo is one of the most popular open-source static site generators. With its amazing speed and flexibility, Hugo makes building websites fun again.
hugo-github
themes
docs
discuss
1.setup
# check version
hugo version
建议使用扩展 hugo_extended
2.create site
hugo new site blogs
3.add themes
cd blogs
git init
git submodule add https://github.com/olOwOlo/hugo-theme-even.git themes/even
#编辑你的config.toml 配置文件使用该主题
echo 'theme = "even"' >> config.toml
4.create post && testing
hugo new post/my-first-post.md
hugo server -D #本地调试
http://localhost:1313/