The_create_of_hugo_blog
Let me remind the all process of create the ‘easy’ hugo blog.
1.install hugo windows x64 https://github.com/gohugoio/hugo/releases config the envirnment hugo path
2.sign up github
3.in cmd hugo new site xxx (../..)
4.choose one theme you like in https://themes.gohugo.io/
5.and copy the theme’s github download link
6.int cmd git clone xxxx(the link of theme you copyed )
hugo new post/xxx.md(produce the new article)
7.start the theme int cmd hugo server -t xxx(your chooesd theme) –buildDrafts
and then you can see the site in:localhost:1313
//if you define the theme path in config.toml,not -t //–buildDrafts means rendering all where draft=true
8 .config.toml :baseUrl=“https://yushouxixiwo.github.io/"
9.in cmd hugo –theme=xxx –baseUrl=https://yushouxixiwo.github.io/ and produce the folder public
10.upload to github repository
in public git init git add . git commit -m “ssssss”
git remote add origin https://github.com/Yushouxixiwo/Yushouxixiwo.github.io.git git push -u origin master