p/hugo%E5%8D%9A%E5%AE%A2%E6%8F%90%E4%BA%A4/ #3
Replies: 1 comment 1 reply
-
Hello world |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
p/hugo%E5%8D%9A%E5%AE%A2%E6%8F%90%E4%BA%A4/
提交Hugo 启动博客 1 hugo server --theme=hugo-theme-stack -D 2.提交md文件
1 2 hugo new post/XXXX.md 在生成md文件后将draft的属性值改为false 3.绑定github仓库
1 hugo --theme=hugo-theme-stack --baseUrl="https://wangchenguang123.github.io/" -D 4.进入public文件夹
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 如果是第一次提交 cd public git init git add . git commit -m "message" git remote add origin https://github.com/wangchenguang123/wangchenguang123.github.io.git git push -u origin master 如果不是第一次提交 hugo new post/xxx.md hugo --theme=m10c --baseUrl="https://wangchenguang123.github.io/" -D cd public git add .
http://localhost:1313/p/hugo%E5%8D%9A%E5%AE%A2%E6%8F%90%E4%BA%A4/
Beta Was this translation helpful? Give feedback.
All reactions