git clone https://github.com/xianmin/hugo-theme-jane.git --depth=1 themes/jane
开发环境下, 可查看所有.
hugo server -D
, 访问 http://127.0.0.1:1313
hugo
, 构建输出的内容在 public 目录中, 可通过 -d
指定输出目录
hugo new posts/my-first-post.md
默认创建的是 Draft 文件
Drafts do not get deployed; once you finish a post, update the header of the post to say draft: false. More info here.