summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Deininger <andreas@deininger.net>2024-02-21 20:18:38 +0100
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>2024-03-07 14:03:49 +0100
commitada3fceea839c2abc0e22eafbb683a4df42f5bae (patch)
tree673c8fb953e477d822acc9a95b79924f8227723d
parent05e23bd55c67f636c628a105ca45e19408740ec6 (diff)
docs: Fix hyphens and grammar in synopsis of command 'hugo server'
-rw-r--r--commands/server.go6
-rw-r--r--docs/content/en/commands/hugo_server.md6
2 files changed, 6 insertions, 6 deletions
diff --git a/commands/server.go b/commands/server.go
index d08bc5277..0ce655c51 100644
--- a/commands/server.go
+++ b/commands/server.go
@@ -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
diff --git a/docs/content/en/commands/hugo_server.md b/docs/content/en/commands/hugo_server.md
index 84e655954..cfc9f4aaf 100644
--- a/docs/content/en/commands/hugo_server.md
+++ b/docs/content/en/commands/hugo_server.md
@@ -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