hugo-server: add page (#13610)

Co-authored-by: Wiktor Perskawiec <git@spageektti.cc>
pull/28/head
Nelson Figueroa 2024-09-06 09:56:36 -07:00 committed by GitHub
parent a70336b903
commit 3cfa42366d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# hugo server
> Build and serve a site with Hugo's built-in webserver.
> More information: <https://gohugo.io/commands/hugo_server/>.
- Build and serve a site:
`hugo server`
- Build and serve a site on a specified port number:
`hugo server --port {{port_number}}`
- Build and serve a site while minifying supported output formats (HTML, XML, etc.):
`hugo server --minify`
- Display help:
`hugo server --help`