hugo 常用命令

  1. 新建一个页面
hugo new [path]
  1. 启动一个服务器
# 启动生产模式的预览
hugo server

# 启动开发模式的预览(会显示草稿文件)
hugo server -D