title | date |
---|---|
About |
2019-03-12 21:09:56 +0800 |
from hexo to hugo
brew install go
git clone https://github.com/gohugoio/hugo.git
cd hugo/
go install
hugo new site /
hugo new post/hugo_first_page.md cd ~/Desktop/hugoSite/content/ && hugo new post/sychronized的三种用法.md
cd themes/ git clone https://github.com/spf13/hyde.git hugo server --theme=hyde --buildDrafts
即可看到效果
hugo --theme=hyde --baseUrl="http://gwyloved.github.io/"
cd public/ git remote add origin https://github.com/GWYloved/GWYloved.github.io.git git add . git commit -m "gg" git push
hugo server --theme=hyde --buildDrafts hugo server -w hugo server --theme=hugo-creative-theme --buildDrafts
hugo --theme=hyde --baseUrl="https://gwyloved.github.io/"
或者hugo
cd ~/Desktop/hugoSite/ && hugo && git add . && git commit -m "rebase" && git push && cd public/ && git add . && git commit -m "rebase" && git push
brew install pandoc
cd ~/Desktop/hugoSite/content/ && pandoc -f markdown -t html -o 安卓开发工程师-殷鹏程.html about.md -T "Pengcheng Yin's Resume" --metadata pagetitle="resume" -c css/main.css