]> git.maquefel.me Git - brevno-suite/hugo/commitdiff
docs: Fix hyphens and grammar in synopsis of command 'hugo server'
authorAndreas Deininger <andreas@deininger.net>
Wed, 21 Feb 2024 19:18:38 +0000 (20:18 +0100)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 7 Mar 2024 13:03:49 +0000 (14:03 +0100)
commands/server.go
docs/content/en/commands/hugo_server.md

index d08bc5277932c06f5efabbe7aa8b09f6c3652329..0ce655c5196bf63f30b68daeeb79bb78888f3c5d 100644 (file)
@@ -512,9 +512,9 @@ func (c *serverCommand) Init(cd *simplecobra.Commandeer) error {
        cmd.Long = `Hugo provides its own webserver which builds and serves the site.
 While hugo server is high performance, it is a webserver with limited options.
 
-'hugo server' will by default write and server files from disk, but you can
-render to memory by using the '--renderToMemory' flag. This can be faster
-in some cases, but it will consume more memory.
+The ` + "`" + `hugo server` + "`" + ` command will by default write and serve files from disk, but
+you can render to memory by using the ` + "`" + `--renderToMemory` + "`" + ` flag. This can be
+faster in some cases, but it will consume more memory.
 
 By default hugo will also watch your files for any changes you make and
 automatically rebuild the site. It will then live reload any open browser pages
index 84e655954c3886ebf84ed28c9efdc253ff852fa3..cfc9f4aafba926c8a8b3223d3800400679186204 100644 (file)
@@ -12,9 +12,9 @@ A high performance webserver
 Hugo provides its own webserver which builds and serves the site.
 While hugo server is high performance, it is a webserver with limited options.
 
-'hugo server' will by default write and server files from disk, but you can
-render to memory by using the '--renderToMemory' flag. This can be faster
-in some cases, but it will consume more memory.
+The `hugo server` command will by default write and serve files from disk, but
+you can render to memory by using the `--renderToMemory` flag. This can be
+faster in some cases, but it will consume more memory.
 
 By default hugo will also watch your files for any changes you make and
 automatically rebuild the site. It will then live reload any open browser pages