Hugo
**testtest test test **
Basic
常用命令
# 啟動本地服務,且支持查看Draft狀態的
hugo server -D
# 創建一個新的文檔, 會在content下生成 posts/test.md
hugo new posts/test.md
# Content "D:\\Workspace\\Hugo\\shame-pool\\content\\posts\\Hugo.md" created
# 編譯所有非Draft狀態的文檔, 生成到public下
hugo server -D
# 創建一個新的文檔, 會在content下生成 posts/test.md
hugo new posts/test.md
# Content "D:\\Workspace\\Hugo\\shame-pool\\content\\posts\\Hugo.md" created
# 編譯所有非Draft狀態的文檔, 生成到public下
hugo server -D
# 創建一個新的文檔, 會在content下生成 posts/test.md
hugo new posts/test.md
# Content "D:\\Workspace\\Hugo\\shame-pool\\content\\posts\\Hugo.md" created
# 編譯所有非Draft狀態的文檔, 生成到public下
hugo server -D
# 創建一個新的文檔, 會在content下生成 posts/test.md
hugo new posts/test.md
# Content "D:\\Workspace\\Hugo\\shame-pool\\content\\posts\\Hugo.md" created
# 編譯所有非Draft狀態的文檔, 生成到public下
hugo server -D
# 創建一個新的文檔, 會在content下生成 posts/test.md
hugo new posts/test.md
# Content "D:\\Workspace\\Hugo\\shame-pool\\content\\posts\\Hugo.md" created
# 編譯所有非Draft狀態的文檔, 生成到public下
hugo
使用圖片
- 將圖片放到static/images下,Hugo會自動生成到public/images下
- 使用markdown引用該圖片即可
