Skip to content

Instantly share code, notes, and snippets.

@iamjjanga-ouo
Last active May 15, 2024 07:01
Show Gist options
  • Save iamjjanga-ouo/7bb8e30582d0a452523343f5fac4233f to your computer and use it in GitHub Desktop.
Save iamjjanga-ouo/7bb8e30582d0a452523343f5fac4233f to your computer and use it in GitHub Desktop.
[github-pages] hugo commands

Debug

  • $ hugo server or $ hugo server -D http://localhost:1313/에서 디버그 용도로 사용(watch files)
    • -D 옵션은 draft로 실행됨

Write contents

  • $ hugo new post/test1.md 명령으로 파일을 생성하면 \content\post\test1.md에 생성
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment