hugo new posts/your-post-name.mdThis will create a new post in content/posts/ with the date and title automatically set.
To preview drafts locally:
hugo server -D- Remove
draft = truefrom your post's frontmatter (or set it tofalse) - Commit and push to
main:
git add .
git commit -m "Add new post"
git pushThe site will automatically build and deploy via GitHub Actions.