Used Tools
- hugo + github.io + custom domain name
Install hugo
- brew install hugo
- hugo new site myblog
- search themes
- hugo server -D
- hugo server -t –buildDrafts
- hugo new post/blog.md
- hugo –theme=m10c –baseUrl=“https://xidaniel.github.io/" –buildDrafts
- cd public/
- git init
- git add .
- git commit -m “My first submit”
- git remote add origin https://github.com/xidaniel/xidaniel.github.io.git
- git push -u origin master
Update Post
- hugo -D //generate new public
- hugo server -D //locally review