个人网站源码存储库

常用指令

  • 创建站点(指定配置文件为yaml格式):hugo new site <site-name> --format yaml
  • 创建博文:hugo new content content/posts/<post-name>.md
  • 构建站点:
    • 不包含草稿:hugo server
    • 包含草稿:hugo server -D