diff --git a/content/content-management/authors.md b/content/content-management/authors.md index ac47d9af1..31dbb1b1d 100644 --- a/content/content-management/authors.md +++ b/content/content-management/authors.md @@ -94,8 +94,7 @@ The list is accessible via the `.Authors` template variable. Printing all author {{ range .Authors }} {{ .DisplayName }} {{ end }} - -# output: Alice Allison +=> Alice Allison ``` Even if there are co-authors you may only want to show the main author. For this case you can use the `.Author` template variable **(note the singular form)**. The template variable contains the profile of the author that is first listed with his identifier in the front matter. diff --git a/content/getting-started/installing.md b/content/getting-started/installing.md index 6d44775b8..c4f503b0a 100644 --- a/content/getting-started/installing.md +++ b/content/getting-started/installing.md @@ -45,6 +45,16 @@ brew update && brew install hugo For more detailed explanations, read the installation guides that follow for installing on Mac OS X and Windows. +### Windows (Chocolatey) + +If you are on a Windows machine and use [Chocolatey][] for package management, you can install Hugo with the following one-liner: + +{{% code file="install-with-chocolatey.ps1" %}} +```powershell +choco install hugo -confirm +``` +{{% /code %}} + ### Source #### Prerequisite tools for downloading and building source code