mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Fix trivial typos in code
This commit is contained in:
@@ -43,7 +43,7 @@ var disableLiveReload bool
|
||||
var serverCmd = &cobra.Command{
|
||||
Use: "server",
|
||||
Short: "A high performance webserver",
|
||||
Long: `Hugo provides it's own webserver which builds and serves the site.
|
||||
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.
|
||||
Many run it in production, but the standard behavior is for people to use it in development
|
||||
and use a more full featured server such as Nginx or Caddy.
|
||||
|
@@ -78,7 +78,7 @@ func Undraft(cmd *cobra.Command, args []string) {
|
||||
return
|
||||
}
|
||||
|
||||
// undraftContent: if the content is a draft, change it's draft status to
|
||||
// undraftContent: if the content is a draft, change its draft status to
|
||||
// 'false' and set the date to time.Now(). If the draft status is already
|
||||
// 'false', don't do anything.
|
||||
func undraftContent(p parser.Page) (bytes.Buffer, error) {
|
||||
|
Reference in New Issue
Block a user