mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-27 00:38:53 +00:00
Add version verification step to quick start guide
This commit is contained in:
@@ -10,6 +10,7 @@ menu:
|
||||
weight: 20
|
||||
toc: true
|
||||
aliases: [/quickstart/,/overview/quickstart/]
|
||||
minVersion: v0.112.0
|
||||
---
|
||||
|
||||
In this tutorial you will:
|
||||
@@ -23,7 +24,7 @@ In this tutorial you will:
|
||||
|
||||
Before you begin this tutorial you must:
|
||||
|
||||
1. [Install Hugo] (extended edition, v0.112.0 or later)
|
||||
1. [Install Hugo] (extended edition, {{% param "minVersion" %}} or later)
|
||||
1. [Install Git]
|
||||
|
||||
You must also be comfortable working from the command line.
|
||||
@@ -45,6 +46,12 @@ PowerShell and Windows PowerShell [are different applications].
|
||||
[are different applications]: https://learn.microsoft.com/en-us/powershell/scripting/whats-new/differences-from-windows-powershell?view=powershell-7.3
|
||||
{{% /note %}}
|
||||
|
||||
Verify that you have installed Hugo {{% param "minVersion" %}} or later.
|
||||
|
||||
```text
|
||||
hugo version
|
||||
```
|
||||
|
||||
Run these commands to create a Hugo site with the [Ananke] theme. The next section provides an explanation of each command.
|
||||
|
||||
```text
|
||||
|
||||
@@ -55,9 +55,11 @@ sudo snap disconnect hugo:ssh-keys
|
||||
Most Linux distributions maintain a repository for commonly installed applications.
|
||||
|
||||
{{% note %}}
|
||||
Due to Long Term Release policies, some Linux package repositories will not contain the [latest release].
|
||||
The Hugo version available in package repositories varies based on Linux distribution and release, and in some cases will not be the [latest version].
|
||||
|
||||
[latest release]: https://github.com/gohugoio/hugo/releases/latest
|
||||
Use one of the other installation methods if your package repository does not provide the desired version.
|
||||
|
||||
[latest version]: https://github.com/gohugoio/hugo/releases/latest
|
||||
{{% /note %}}
|
||||
|
||||
### Alpine Linux
|
||||
|
||||
Reference in New Issue
Block a user