Add version verification step to quick start guide

This commit is contained in:
Joe Mooring
2024-01-14 06:57:26 -08:00
committed by GitHub
parent 8fafca49c4
commit c852fe4214
2 changed files with 12 additions and 3 deletions
+8 -1
View File
@@ -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
+4 -2
View File
@@ -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